提交 64d89a93 编写于 作者: N Noah Misch

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.
上级 2ffa8696
...@@ -404,7 +404,7 @@ sub poll_query_until ...@@ -404,7 +404,7 @@ sub poll_query_until
{ {
my ($self, $dbname, $query) = @_; my ($self, $dbname, $query) = @_;
my $max_attempts = 30; my $max_attempts = 90;
my $attempts = 0; my $attempts = 0;
my ($stdout, $stderr); my ($stdout, $stderr);
...@@ -426,7 +426,7 @@ sub poll_query_until ...@@ -426,7 +426,7 @@ sub poll_query_until
$attempts++; $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. # from the last attempt, hopefully that's useful for debugging.
diag $stderr; diag $stderr;
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册