Content-Length: 272303 | pFad | http://github.com/postgrespro/postgres_cluster/commit/64d89a93c0a8b2ead0503684f54784bd071adad9

25 In pg_rewind test suite, triple promote timeout to 90s. · postgrespro/postgres_cluster@64d89a9 · GitHub
Skip to content

Commit 64d89a9

Browse files
committed
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.
1 parent 2ffa869 commit 64d89a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/perl/PostgresNode.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ sub poll_query_until
404404
{
405405
my ($self, $dbname, $query) = @_;
406406

407-
my $max_attempts = 30;
407+
my $max_attempts = 90;
408408
my $attempts = 0;
409409
my ($stdout, $stderr);
410410

@@ -426,7 +426,7 @@ sub poll_query_until
426426
$attempts++;
427427
}
428428

429-
# The query result didn't change in 30 seconds. Give up. Print the stderr
429+
# The query result didn't change in 90 seconds. Give up. Print the stderr
430430
# from the last attempt, hopefully that's useful for debugging.
431431
diag $stderr;
432432
return 0;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/64d89a93c0a8b2ead0503684f54784bd071adad9

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy