Skip to content

Commit 2dcaebe

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 725f0ce commit 2dcaebe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_rewind/RewindTest.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ sub poll_query_until
130130
{
131131
my ($query, $connstr) = @_;
132132

133-
my $max_attempts = 30;
133+
my $max_attempts = 90;
134134
my $attempts = 0;
135135
my ($stdout, $stderr);
136136

@@ -151,7 +151,7 @@ sub poll_query_until
151151
$attempts++;
152152
}
153153

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

0 commit comments

Comments
 (0)