Fix test instability

On FreeBSD, the new test fails due to a WAL file being removed before
the standby has had the chance to copy it.  Fix by adding a replication
slot to prevent the removal until after the standby has connected.

Author: Kyotaro Horiguchi <[email protected]>
Reported-by: Matthias van de Meent <[email protected]>
Discussion: 
https://postgr.es/m/caeze2wj5nau_qpjbwihvmxlfkawoz5tkdbnqoc6nksirjeo...@mail.gmail.com

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/798d64488ca91df3382fa195bf9f0f772995bdf4

Modified Files
--------------
src/test/recovery/t/033_replay_tsp_drops.pl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Reply via email to