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

Lines changed: 2 additions & 0 deletions
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)
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