pgsql: Fix test instability - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Fix test instability
Date
Msg-id E1oHNd5-001lsx-Ju@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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/658e5d53459f14079843e62e6e481265a4462dd8

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.