File tree 1 file changed +7
-3
lines changed 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ sub configure
134
134
multimaster.workers = 1
135
135
multimaster.node_id = $id
136
136
multimaster.conn_strings = '$connstr '
137
- multimaster.heartbeat_recv_timeout = 1050
137
+ multimaster.heartbeat_recv_timeout = 4050
138
138
multimaster.heartbeat_send_timeout = 250
139
139
multimaster.max_nodes = 6
140
140
multimaster.ignore_tables_without_pk = false
@@ -306,7 +306,7 @@ sub pgbench_async()
306
306
sub pgbench_await ()
307
307
{
308
308
my ($self , $pgbench_handle ) = @_ ;
309
- IPC::Run::finish($pgbench_handle ) || BAIL_OUT( " pgbench exited with $? " );
309
+ IPC::Run::finish($pgbench_handle ) or diag( " WARNING: pgbench exited with $? " );
310
310
note(" finished pgbench" );
311
311
}
312
312
@@ -401,7 +401,11 @@ sub await_nodes()
401
401
402
402
foreach my $i (@nodenums )
403
403
{
404
- $self -> {nodes }-> [$i ]-> poll_query_until(' postgres' , " select 't'" );
404
+ if (!$self -> {nodes }-> [$i ]-> poll_query_until(' postgres' , " select 't'" ))
405
+ {
406
+ # sleep(3600);
407
+ die " Timed out while waiting for mm node to became online" ;
408
+ }
405
409
}
406
410
}
407
411
You can’t perform that action at this time.
0 commit comments