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+dsugj2mpk8or1ttjvx2cywkr4bu...@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(-)