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

Commitf11c34e

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

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)

[8]ページ先頭

©2009-2025 Movatter.jp