pgsql: If wait_for_catchup fails under has_wal_read_bug, skip balance o

Поиск
Список
Период
Сортировка
От Noah Misch
Тема pgsql: If wait_for_catchup fails under has_wal_read_bug, skip balance o
Дата
Msg-id E1otw6m-000oEn-FU@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix volatility marking of timestamptz_trunc_zone.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add repalloc0 and repalloc0_array