From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Make 009_twophase.pl test pass with recovery_min_apply_delay set |
Date: | 2024-12-16 14:00:35 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | 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/[email protected]
Branch
------
REL_17_STABLE
Modified Files
--------------
src/test/recovery/t/009_twophase.pl | 1 +
1 file changed, 1 insertion(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2024-12-16 16:33:52 | pgsql: psql: Tab completion for CREATE TEMP TABLE ... USING |
Previous Message | Michael Paquier | 2024-12-16 05:52:25 | pgsql: Print out error position for CREATE DOMAIN |