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

Commit 4f1b40d

Browse files
committed
sleep-based await in 005_add_stop_node.pl
1 parent aee5bf8 commit 4f1b40d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/005_add_stop_node.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@
6161
my ($stopped_out, $stopped_err);
6262

6363
$cluster->psql(0, 'postgres', "select mtm.stop_node(3,'f')");
64-
# await for comletion?
64+
sleep(5); # await for comletion
65+
6566
$cluster->pgbench(0, ('-N', '-n', -T => '1') );
6667
$cluster->pgbench(1, ('-N', '-n', -T => '1') );
6768
$cluster->pgbench(3, ('-N', '-n', -T => '1') );

0 commit comments

Comments
 (0)