Fix test failure in 021_twophase.pl.
authorAmit Kapila <akapila@postgresql.org>
Mon, 2 Aug 2021 02:59:26 +0000 (08:29 +0530)
committerAmit Kapila <akapila@postgresql.org>
Mon, 2 Aug 2021 03:01:48 +0000 (08:31 +0530)
commiteaf5321c352478266cebe2aa50ea4c34a8fdd2c7
tree66408384411bbc216de0e2dac9ba40ef3704d1ce
parent0d1401931868e03342ed4689b5af2522eb40f750
Fix test failure in 021_twophase.pl.

The test is expecting two prepared transactions corresponding to two
subscriptions but it waits to catch up for just one subscription. Fix it
by allowing to wait for both subscriptions.

Reported-by: Michael Paquier, as per buildfarm
Author: Ajin Cherian
Reviewed-By: Amit Kapila, Vignesh C, Peter Smith
Discussion: https://postgr.es/m/CAA4eK1+_0iNQ8Z=KVTjmmAqNX-hyv+1+fnZ-Yx8CVP=uAcekqw@mail.gmail.com
src/test/subscription/t/021_twophase.pl