]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix test instability
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 29 Jul 2022 10:50:47 +0000 (12:50 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 29 Jul 2022 10:50:47 +0000 (12:50 +0200)
commit798d64488ca91df3382fa195bf9f0f772995bdf4
tree6c3b8286f1cc7c0415f05f3638cf2d8430317817
parent4ab5dae9472c5c6ada5f5627ec0e0f9f965ade28
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 <horikyota.ntt@gmail.com>
Reported-by: Matthias van de Meent <boekewurm+postgres@gmail.com>
Discussion: https://postgr.es/m/CAEze2Wj5nau_qpjbwihvmXLfkAWOZ5TKdbnqOc6nKSiRJEoPyQ@mail.gmail.com
src/test/recovery/t/033_replay_tsp_drops.pl