pgsql: Make 009_twophase.pl test pass with recovery_min_apply_delay set - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Make 009_twophase.pl test pass with recovery_min_apply_delay set
Date
Msg-id E1tNBeE-0030vd-Qf@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make 009_twophase.pl test pass with recovery_min_apply_delay set

The test failed if you ran the regression tests with TEMP_CONFIG with
recovery_min_apply_delay = '500ms'. Fix the race condition by waiting
for transaction to be applied in the replica, like in a few other
tests.

The failing test was introduced in commit cbfbda7841. Backpatch to all
supported versions like that commit (except v12, which is no longer
supported).

Reported-by: Alexander Lakhin
Discussion: https://www.postgresql.org/message-id/09e2a70a-a6c2-4b5c-aeae-040a7449c9f2@gmail.com

Branch
------
REL_17_STABLE

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

Modified Files
--------------
src/test/recovery/t/009_twophase.pl | 1 +
1 file changed, 1 insertion(+)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Print out error position for CREATE DOMAIN
Next
From: Tomas Vondra
Date:
Subject: pgsql: psql: Tab completion for ALTER TYPE ... ADD ATTRIBUTE