Disable tests involving ZLIB on Windows for pg_receivewal
authorMichael Paquier <michael@paquier.xyz>
Fri, 16 Jul 2021 04:21:18 +0000 (13:21 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 16 Jul 2021 04:21:18 +0000 (13:21 +0900)
commit6cea447e6a10cd7ef511470e809a894a013e6a18
tree8300d4f651220dd7ced061093d30401ea1d341e6
parent830ef61bd8d0ac4c89c21a895047c1b3a6b202f3
Disable tests involving ZLIB on Windows for pg_receivewal

As reported by buildfarm member bowerbird, those tests are unstable on
Windows.  The failure produced there points to a problem with gzflush(),
that fails to sync a file freshly-opened, with a gzFile properly
opened.  While testing this myself with MSVC, I bumped into a different
error where a file could simply not be opened, so this makes me rather
doubtful that testing this area on Windows is a good idea if this
finishes with random concurrency failures.  This requires more
investigation, and keeping this buildfarm member red is not a good thing
in the long-term, so for now this just disables this set of tests on
Windows.

Discussion: https://postgr.es/m/YPDLz2x3o1aX2wRh@paquier.xyz
src/bin/pg_basebackup/t/020_pg_receivewal.pl