mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-04 15:37:23 +02:00
In pg_rewind test suite, triple promote timeout to 90s.
Thirty seconds was not consistently enough for promotion to complete on buildfarm members sungazer and tern. Experiments suggest 43s would have been enough. Back-patch to 9.5, where pg_rewind was introduced.
This commit is contained in:
parent
725f0ce296
commit
2dcaebea07
@ -130,7 +130,7 @@ sub poll_query_until
|
||||
{
|
||||
my ($query, $connstr) = @_;
|
||||
|
||||
my $max_attempts = 30;
|
||||
my $max_attempts = 90;
|
||||
my $attempts = 0;
|
||||
my ($stdout, $stderr);
|
||||
|
||||
@ -151,7 +151,7 @@ sub poll_query_until
|
||||
$attempts++;
|
||||
}
|
||||
|
||||
# The query result didn't change in 30 seconds. Give up. Print the stderr
|
||||
# The query result didn't change in 90 seconds. Give up. Print the stderr
|
||||
# from the last attempt, hopefully that's useful for debugging.
|
||||
diag $stderr;
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user