Skip to content

Commit aa446f1

Browse files
knizhnikkelvich
authored andcommitted
Add more tracing to travis tests
1 parent 7467c08 commit aa446f1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

t/001_basic_recovery.pl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,18 @@
7272
$cluster->{nodes}->[2]->start;
7373

7474
$cluster->psql(0, 'postgres', "select mtm.poll_node(3);");
75-
sleep(5); # Wait until recovery of node will be completed
7675

7776
diag("inserting 6 on node 1 (can fail)");
7877
$cluster->psql(0, 'postgres', "insert into t values(6, 60);");
7978
diag("inserting 7 on node 2 (can fail)");
8079
$cluster->psql(1, 'postgres', "insert into t values(7, 70);");
8180

81+
sleep(5); # Wait until recovery of node will be completed
82+
83+
$cluster->psql(0, 'postgres', "select * from mtm.get_cluster_state();");
84+
$cluster->psql(1, 'postgres', "select * from mtm.get_cluster_state();");
85+
$cluster->psql(2, 'postgres', "select * from mtm.get_cluster_state();");
86+
8287
diag("inserting 8 on node 1");
8388
$cluster->psql(0, 'postgres', "insert into t values(8, 80);");
8489
diag("inserting 9 on node 2");

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