Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f11c34e

Browse files
kvapkelvich
authored andcommitted
Add diag messages about polling nodes and getting cluster status into 001 basic recovery tap-test.
1 parent b3a0c79 commit f11c34e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

t/001_basic_recovery.pl

+2
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,12 @@
7878
diag("inserting 7 on node 2 (can fail)");
7979
$cluster->psql(1, 'postgres', "insert into t values(7, 70);");
8080

81+
diag("polling node");
8182
$cluster->psql(0, 'postgres', "select mtm.poll_node(3);");
8283
$cluster->psql(1, 'postgres', "select mtm.poll_node(3);");
8384
$cluster->psql(2, 'postgres', "select mtm.poll_node(3);");
8485

86+
diag("getting cluster state");
8587
$cluster->psql(0, 'postgres', "select * from mtm.get_cluster_state();", stdout => \$psql_out);
8688
diag("Node 1 status: $psql_out");
8789
$cluster->psql(1, 'postgres', "select * from mtm.get_cluster_state();", stdout => \$psql_out);

0 commit comments

Comments
 (0)