pgsql: Use --no-loop for new calls of pg_receivewal --endpos in TAP tes - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Use --no-loop for new calls of pg_receivewal --endpos in TAP tes
Date
Msg-id E1m9Rdn-0007OR-N1@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Use --no-loop for new calls of pg_receivewal --endpos in TAP tests

Those tests are not designed to fail, but if they do, like on some cases
for Windows because of ZLIB (?), they could remain stuck.  Using
--no-loop makes the test fail immediately.  The oldest test with
--endpos already did that.

Those tests have been added in ffc9dda.

Reviewed-by: Andrew Dunstan
Discussion: https://postgr.es/m/ec093ff1-a53c-0091-46a2-4537354b0dd4@dunslane.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3df93a66593c344e6298e618df3fa5090fca4309

Modified Files
--------------
src/bin/pg_basebackup/t/020_pg_receivewal.pl | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Re-enable TAP tests of pg_receivewal for ZLIB on Windows
Next
From: Robert Haas
Date:
Subject: pgsql: Remove unnecessary call to ReadCheckpointRecord().