]> granicus.if.org Git - postgresql/commit
Fix instability in subscription regression test.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Sep 2017 15:28:34 +0000 (11:28 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Sep 2017 15:28:34 +0000 (11:28 -0400)
commitee266774454d5cce3375145e2f86a99910eb263f
tree954b83482d1024b19da72c9bbdd851f29939673b
parente77730721f5faddb28fd11912f7968ddfd8b58c2
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
src/test/subscription/t/005_encoding.pl