pgsql: Improve recently-added test reliability

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Improve recently-added test reliability
Дата
Msg-id E1oKKFb-000aAL-VH@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve recently-added test reliability

Commit 59be1c942a47 already tried to make
src/test/recovery/t/033_replay_tsp_drops more reliable, but it wasn't
enough.  Try to improve on that by making this use of a replication slot
to be more like others.  Also, don't drop the slot.

Make a few other stylistic changes while at it.  It's still quite slow,
which is another thing that we need to fix in this script.

Backpatch to all supported branches.

Discussion: https://postgr.es/m/349302.1659191875@sss.pgh.pa.us

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8c5d9ccca9670e8d7eda35e08b35e4e16bcf600c

Modified Files
--------------
src/test/recovery/t/033_replay_tsp_drops.pl | 35 +++++++++--------------------
1 file changed, 11 insertions(+), 24 deletions(-)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix comment in copyfrom_internal.h
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Simplify gettimeofday() fallback logic.