]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Make pg_rewind test case more stable.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 20 Nov 2020 14:08:58 +0000 (16:08 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 20 Nov 2020 14:11:52 +0000 (16:11 +0200)
commitc71f9a094b32770dcd34b9ba4909435e34583747
tree8c4af75f429cd5a3f9f8515092f73cbce111cbd1
parent16f96c74d48e65da23d28665103e2c4c9d3414cc
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
src/bin/pg_rewind/t/007_standby_source.pl