pgsql: Fix instability in subscription regression test.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix instability in subscription regression test.
Date: 2017-09-20 15:28:44
Message-ID: E1dugvc-0007DZ-Ml@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix instability in subscription regression test.

005_encoding.pl neglected to wait for the subscriber's initial
synchronization to happen. While we have not seen this fail in
the buildfarm, it's pretty easy to demonstrate there's an issue
by hacking logicalrep_worker_launch() to fail most of the time.

Michael Paquier

Discussion: https://postgr.es/m/27032.1505749806@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4939488af9b86edfff9b981773cd388d361c5830

Modified Files
--------------
src/test/subscription/t/005_encoding.pl | 6 ++++++
1 file changed, 6 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2017-09-20 15:39:03 Re: pgsql: Fix erroneous documentation about noise word GROUP.
Previous Message Tom Lane 2017-09-20 15:10:54 pgsql: Fix erroneous documentation about noise word GROUP.