pgsql: Make pg_rewind test case more stable. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Make pg_rewind test case more stable.
Date
Msg-id E1kg7Fn-00045m-CC@gemulon.postgresql.org
Whole thread Raw
List 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(+)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Skip allocating hash table in EXPLAIN-only mode.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Improve tableoid description