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_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/ad0e08394746ed4e3219ed4958b372b969d115f9
Modified Files
--------------
src/test/recovery/t/033_replay_tsp_drops.pl | 35 +++++++++--------------------
1 file changed, 11 insertions(+), 24 deletions(-)