Content-Length: 254530 | pFad | http://github.com/postgrespro/postgres_cluster/commit/4a1c0f3dde765c65e0ccb712c899df16986d09ad

A9 Use a longer connection timeout in pg_isready test. · postgrespro/postgres_cluster@4a1c0f3 · GitHub
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)








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/4a1c0f3dde765c65e0ccb712c899df16986d09ad

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy