Fix instability in subscription regression test.

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

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