If wait_for_catchup fails under has_wal_read_bug, skip balance of test.
authorNoah Misch <noah@leadboat.com>
Sat, 12 Nov 2022 19:19:50 +0000 (11:19 -0800)
committerNoah Misch <noah@leadboat.com>
Sat, 12 Nov 2022 19:19:50 +0000 (11:19 -0800)
commit30d98e14a88930c6d9658525fd5e6722e70a02e6
tree9df1f2c931201029c0548260219959cf66cddfd8
parent533e02e927c6e7fcc1a7b3121093d8f05b728279
If wait_for_catchup fails under has_wal_read_bug, skip balance of test.

Test files should now ignore has_wal_read_bug() so long as
wait_for_catchup() is their only known way of reaching the bug.  That's
at least five files today, a number expected to grow over time.  This
commit removes skip logic from three.  By doing so, systems having the
bug regain the ability to catch other kinds of defects via those three
tests.  The other two, 002_databases.pl and 031_recovery_conflict.pl,
have been unprotected.  Back-patch to v15, where done_testing() first
became our standard.

Discussion: https://postgr.es/m/20221030031639.GA3082137@rfd.leadboat.com
contrib/bloom/t/001_wal.pl
src/test/perl/PostgreSQL/Test/Cluster.pm
src/test/recovery/t/027_stream_regress.pl
src/test/recovery/t/032_relfilenode_reuse.pl