pgsql: Fix test instability - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Fix test instability
Date
Msg-id E1oHNd5-001lt0-KJ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/fcd72cf295c3f0d884b3bcd6bd4e401fc8a837a7

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


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Move related functions next to each other in pg_publication.c.
Next
From: Dilip Kumar
Date:
Subject: Re: pgsql: Use TRUNCATE to preserve relfilenode for pg_largeobject + index.