Skip to content

Commit 23053c3

Browse files
committed
remove broken test
1 parent 824611f commit 23053c3

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::More tests => 12;
5+
use Test::More tests => 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy