Skip to content

Commit 4a1c0f3

Browse files
committed
Use a longer connection timeout in pg_isready test.
Buildfarm members skink and sungazer have both recently failed this test, with symptoms indicating that the default 3-second timeout isn't quite enough for those very slow systems. There's no reason to be miserly with this timeout, so boost it to 60 seconds. Back-patch to all versions containing this test. That may be overkill, because the failure has only been observed in the v10 branch, but I don't feel like having to revisit this later.
1 parent 655c938 commit 4a1c0f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/scripts/t/080_pg_isready.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@
1515
$node->init;
1616
$node->start;
1717

18-
$node->command_ok(['pg_isready'], 'succeeds with server running');
18+
# use a long timeout for the benefit of very slow buildfarm machines
19+
$node->command_ok([qw(pg_isready --timeout=60)], 'succeeds with server running');

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy