diff options
author | Noah Misch <noah@leadboat.com> | 2016-02-10 20:34:57 -0500 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2016-02-10 20:34:57 -0500 |
commit | 64d89a93c0a8b2ead0503684f54784bd071adad9 (patch) | |
tree | f75fc49b5b49387e29c3d2ca95d111add311cad7 /src | |
parent | 2ffa86962077c588d8bdf6244e2ef960338d3883 (diff) | |
download | postgresql-64d89a93c0a8b2ead0503684f54784bd071adad9.tar.gz postgresql-64d89a93c0a8b2ead0503684f54784bd071adad9.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/test/perl/PostgresNode.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm index 6152c601bdc..2ab9aee334a 100644 --- a/src/test/perl/PostgresNode.pm +++ b/src/test/perl/PostgresNode.pm @@ -404,7 +404,7 @@ sub poll_query_until { my ($self, $dbname, $query) = @_; - my $max_attempts = 30; + my $max_attempts = 90; my $attempts = 0; my ($stdout, $stderr); @@ -426,7 +426,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; |