Add a wait_for_catchup() before immediate stop of a test master.
authorNoah Misch <noah@leadboat.com>
Tue, 14 Apr 2020 01:47:28 +0000 (18:47 -0700)
committerNoah Misch <noah@leadboat.com>
Tue, 14 Apr 2020 01:47:28 +0000 (18:47 -0700)
commitd60cfb6bf2b4812e97271e7b5ba3ad4713406b9d
tree2c0b9fcf0cf75a2dcb29aafd25a9bcc60179ae05
parente56d717d8a23c48e4ab27b6bd6815c50dc3a378a
Add a wait_for_catchup() before immediate stop of a test 

Per buildfarm member hoverfly, a slow walsender could make the test
fail.  Back-patch to v10, where the test was introduced.

Discussion: https://postgr.es/m/20200414013849.GA886648@rfd.leadboat.com
src/test/recovery/t/010_logical_decoding_timelines.pl