Improve recently-added test reliability
authorAlvaro Herrera <[email protected]>
Sat, 6 Aug 2022 13:52:10 +0000 (15:52 +0200)
committerAlvaro Herrera <[email protected]>
Sat, 6 Aug 2022 13:52:10 +0000 (15:52 +0200)
commit9d5c96d9be6476c4a7a3fa227e6e20748f1d827f
tree83945f108cc542d3c347a5047d0616e71694c5c2
parentaab05919a685449826db986a921c1d8632d673e0
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
src/test/recovery/t/033_replay_tsp_drops.pl