pgsql: Fix random failure in 021_twophase.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix random failure in 021_twophase.
Date: 2024-07-31 03:35:31
Message-ID: E1sZ07f-001ybr-RC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix random failure in 021_twophase.

After disabling the subscription, the failed test was changing the
two_phase option for the subscription. We can't change the two_phase
option for a subscription till the corresponding apply worker is active.
The check to ensure that the replication apply worker has exited was
incorrect.

Author: Vignesh C
Discussion: https://postgr.es/m/CALDaNm3YY+bzj+JWJbY+DsUgJ2mPk8OR1ttjVX2cywKr4BUgxw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0dcea330babd46402f6ca3ea3a552829c99bbe5e

Modified Files
--------------
src/test/subscription/t/021_twophase.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-07-31 04:32:02 pgsql: Make building with LTO work on macOS
Previous Message Jeff Davis 2024-07-30 23:51:50 pgsql: Relax check for return value from second call of pg_strnxfrm().