Commit 89613551 authored by Noah Misch's avatar Noah Misch

Raise a timeout to 180s, in test 003_recovery_targets.pl.

Buildfarm member chipmunk has failed twice due to taking >30s, and
twenty-four runs of other members have used >5s.  The test is new in
v13, so no back-patch.
parent 7154aa16
...@@ -158,8 +158,8 @@ $node_standby->append_conf('postgresql.conf', ...@@ -158,8 +158,8 @@ $node_standby->append_conf('postgresql.conf',
run_log(['pg_ctl', '-D', $node_standby->data_dir, run_log(['pg_ctl', '-D', $node_standby->data_dir,
'-l', $node_standby->logfile, 'start']); '-l', $node_standby->logfile, 'start']);
# wait up to 10 seconds for postgres to terminate # wait up to 180s for postgres to terminate
foreach my $i (0..100) foreach my $i (0..1800)
{ {
last if ! -f $node_standby->data_dir . '/postmaster.pid'; last if ! -f $node_standby->data_dir . '/postmaster.pid';
usleep(100_000); usleep(100_000);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment