This is an automated email from the ASF dual-hosted git repository.

yjhjstz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit 4063455544993de87726a90253acc8c88a704777
Author: Noah Misch <[email protected]>
AuthorDate: Sat Apr 25 18:45:27 2020 -0700

    Raise a timeout to 180s, in test 003_recovery_targets.pl.
    
    Backported from Postgres REL_13_BETA1
    
https://github.com/postgres/postgres/commit/896135512ef67cc084f5e058cfa9b4954ca26861
    
    Original commit message:
    
    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 | 4 ++--
 1 file 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 9d01e4235f..39230e8edf 100644
--- a/src/test/recovery/t/003_recovery_targets.pl
+++ b/src/test/recovery/t/003_recovery_targets.pl
@@ -172,8 +172,8 @@ run_log(
                $node_standby->logfile, 'start', '-o', 
"--cluster-name=standby_8 -c gp_role=utility --gp_dbid=9 --gp_contentid=0"
        ]);
 
-# wait for postgres to terminate
-foreach my $i (0 .. 10 * $TestLib::timeout_default)
+# 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);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to