pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix test instability
Date: Fri, 29 Jul 2022 10:54:04 +0000
Message-ID: <E1oHNd5-001lt0-KJ@gemulon.postgresql.org> (raw)

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(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1oHNd5-001lt0-KJ@gemulon.postgresql.org>
Permalink:  ../E1oHNd5-001lt0-KJ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oHNd5-001lt0-KJ@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Fix test instability
  In-Reply-To: <E1oHNd5-001lt0-KJ@gemulon.postgresql.org>
  References: <E1oHNd5-001lt0-KJ@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox