Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit23053c3

Browse files
committed
remove broken test
1 parent824611f commit23053c3

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

‎src/test/recovery/t/007_twophase.pl‎

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
use warnings;
33
use PostgresNode;
44
use TestLib;
5-
use Test::Moretests=>12;
5+
use Test::Moretests=>11;
66

77
# Setup master node
88
my$node_master = get_new_node("Candie");
@@ -28,26 +28,6 @@
2828
my$psql_out ='';
2929
my$psql_rc ='';
3030

31-
32-
33-
34-
35-
$node_master->psql('postgres',"
36-
begin;
37-
insert into t values (1);
38-
prepare transaction 'x';
39-
");
40-
$node_slave->teardown_node;
41-
$node_master->psql('postgres',"commit prepared 'x'");
42-
$node_slave->start;
43-
$node_slave->psql('postgres',"select count(*) from pg_prepared_xacts",stdout=> \$psql_out);
44-
is($psql_out,'0',"Commit prepared on master while slave is down.");
45-
46-
47-
48-
49-
50-
5131
###############################################################################
5232
# Check that we can commit and abort tx after soft restart.
5333
# Here checkpoint happens before shutdown and no WAL replay will not occur

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp