diff options
author | Noah Misch <noah@leadboat.com> | 2020-04-25 18:45:27 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2020-04-25 18:45:27 -0700 |
commit | 896135512ef67cc084f5e058cfa9b4954ca26861 (patch) | |
tree | cea15fbe82a1b50e7b7074a5705d93bd3ac0f3b5 /src | |
parent | 7154aa16a64dd4afc2cbf02e7ce86dc6711a1087 (diff) | |
download | postgresql-896135512ef67cc084f5e058cfa9b4954ca26861.tar.gz postgresql-896135512ef67cc084f5e058cfa9b4954ca26861.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/test/recovery/t/003_recovery_targets.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/recovery/t/003_recovery_targets.pl b/src/test/recovery/t/003_recovery_targets.pl index 2a520e6db1a..86333e7758d 100644 --- a/src/test/recovery/t/003_recovery_targets.pl +++ b/src/test/recovery/t/003_recovery_targets.pl @@ -158,8 +158,8 @@ $node_standby->append_conf('postgresql.conf', run_log(['pg_ctl', '-D', $node_standby->data_dir, '-l', $node_standby->logfile, 'start']); -# wait up to 10 seconds for postgres to terminate -foreach my $i (0..100) +# wait up to 180s for postgres to terminate +foreach my $i (0..1800) { last if ! -f $node_standby->data_dir . '/postmaster.pid'; usleep(100_000); |