Fix two-phase commit test for recovery mode The original code had a race condition because it never ensured the standby was caught up before proceeding; add a wait similar to every other place that does this.
Author: Michaƫl Paquier Discussion: https://postgr.es/m/cab7npqtm9p+lcm1mvjyvgpwagrk+uibt-pkq0o2-paowxt6...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/89c59b742a7f89eb598a25b70aaa3ab97381f67d Modified Files -------------- src/test/recovery/t/009_twophase.pl | 8 ++++++++ 1 file changed, 8 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers