pgsql: Fix test failure in 021_twophase.pl.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix test failure in 021_twophase.pl.
Date: 2021-08-02 03:02:55
Message-ID: E1mAOEB-0005ur-Va@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Etsuro Fujita 2021-08-02 03:52:42 pgsql: Fix oversight in commit 1ec7fca8592178281cd5cdada0f27a340fb813fc
Previous Message Andrew Dunstan 2021-08-01 17:04:46 pgsql: Silence perl warning about uninitialized value