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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use --no-loop for new calls of pg_receivewal --endpos in TAP tes
Date: 2021-07-30 12:29:27
Message-ID: E1m9Rdn-0007OR-N1@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2021-07-30 12:38:17 pgsql: Remove unnecessary call to ReadCheckpointRecord().
Previous Message Andrew Dunstan 2021-07-30 11:42:45 Re: pgsql: Re-enable TAP tests of pg_receivewal for ZLIB on Windows