Fix test instability
authorAlvaro Herrera <[email protected]>
Fri, 29 Jul 2022 10:50:47 +0000 (12:50 +0200)
committerAlvaro Herrera <[email protected]>
Fri, 29 Jul 2022 10:50:47 +0000 (12:50 +0200)
commitfcd72cf295c3f0d884b3bcd6bd4e401fc8a837a7
treeda2349e77483478835be0230ccdb20ffc1db8a88
parent5a10c262fc6038be0b6d5c9bc1796094b0650bbe
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_qpjbwihvmXLfkAWOZ5TKdbnqOc6nKSiRJEoPyQ@mail.gmail.com
src/test/recovery/t/033_replay_tsp_drops.pl