Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Raise a timeout to 180s, in test 003_recovery_targets.pl.
authorNoah Misch <noah@leadboat.com>
Sun, 26 Apr 2020 01:45:27 +0000 (18:45 -0700)
committerNoah Misch <noah@leadboat.com>
Sun, 26 Apr 2020 01:45:27 +0000 (18:45 -0700)
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.

src/test/recovery/t/003_recovery_targets.pl

index 2a520e6db1a81d3febf34974bbd2c83e3bfb88f7..86333e7758d448dc0702825e5bc48b4c5ffb6865 100644 (file)
@@ -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);