Re: recovery test failures on hoverfly
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Noah Misch <noah@leadboat.com>
Date: 2021-06-11T12:20:07Z
Lists: pgsql-hackers
On Fri, Jun 11, 2021 at 05:38:34PM +0530, Amit Kapila wrote: > It seems the error happens in both the tests when after issuing a > KILL, we are trying to reconnect. Can we do anything for this? This is the same problem as c757a3da and 6d41dd0, where we write a query to a pipe but the kill, causing a failure, makes the test fail with a SIGPIPE in IPC::Run as a query is sent down to a pipe. I think that using SELECT 1 to test if the server has been restarted is a bit crazy. I would suggest to use instead a loop based on pg_isready. -- Michael
Commits
-
Restore robustness of TAP tests that wait for postmaster restart.
- f452aaf7d4a9 14.0 landed
- b170ca021c6a 11.13 landed
- 94e21021cdf2 13.4 landed
- 1b48dd50abd6 10.18 landed
- 0b619df6daca 12.8 landed