Fix instability in subscription regression test.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4939488af9b86edfff9b981773cd388d361c5830
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-09-20T15:28:34Z
Releases: 11.0
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

Files

PathChange+/−
src/test/subscription/t/005_encoding.pl modified +6 −0

Discussion