Thread: pgsql: If wait_for_catchup fails under has_wal_read_bug, skip balance o

pgsql: If wait_for_catchup fails under has_wal_read_bug, skip balance o

From
Noah Misch
Date:
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

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e5f94d42eb38f39af81f934d70c3969913f2862e

Modified Files
--------------
contrib/bloom/t/001_wal.pl                   |  7 -------
src/test/perl/PostgreSQL/Test/Cluster.pm     | 19 +++++++++++++++++--
src/test/recovery/t/027_stream_regress.pl    |  7 -------
src/test/recovery/t/032_relfilenode_reuse.pl |  7 -------
4 files changed, 17 insertions(+), 23 deletions(-)