pgsql: Make pg_rewind test case more stable.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make pg_rewind test case more stable.
Date: 2020-11-20 14:19:11
Message-ID: E1kg7Fn-00045m-CC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2020-11-21 07:28:35 pgsql: doc: Improve tableoid description
Previous Message Heikki Linnakangas 2020-11-20 13:36:48 pgsql: Skip allocating hash table in EXPLAIN-only mode.