pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make pg_rewind test case more stable.
Date: Fri, 20 Nov 2020 14:19:11 +0000
Message-ID: <E1kg7Fn-00045m-CC@gemulon.postgresql.org> (raw)

Make pg_rewind test case more stable.

If replication is exceptionally slow for some reason, pg_rewind might run
before the test row has been replicated. Add an explicit wait for it.

Reported-by: Andres Freund
Discussion: https://www.postgresql.org/message-id/20201120003811.iknhqwatitw2vvxf%40alap3.anarazel.de

Branch
------
master

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

Modified Files
--------------
src/bin/pg_rewind/t/007_standby_source.pl | 4 ++++
1 file changed, 4 insertions(+)



Message-ID: <E1kg7Fn-00045m-CC@gemulon.postgresql.org>
Permalink:  ../E1kg7Fn-00045m-CC@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kg7Fn-00045m-CC@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: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Make pg_rewind test case more stable.
  In-Reply-To: <E1kg7Fn-00045m-CC@gemulon.postgresql.org>
  References: <E1kg7Fn-00045m-CC@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