Add a wait_for_catchup() before immediate stop of a test master.
authorNoah Misch <[email protected]>
Tue, 14 Apr 2020 01:47:28 +0000 (18:47 -0700)
committerNoah Misch <[email protected]>
Tue, 14 Apr 2020 01:47:32 +0000 (18:47 -0700)
commitab7699e86c161960c44b51d1a7e6d32784cf5299
tree1fd1b6097ea8d95f94c986266d4ba49cdfb42cbe
parent1e6bb6125f33eeb2e6cc00e6af8777bdbe9a3786
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[email protected]
src/test/recovery/t/010_logical_decoding_timelines.pl