Thread: pgsql: Add a wait_for_catchup() before immediate stop of a test master.

pgsql: Add a wait_for_catchup() before immediate stop of a test master.

From
Noah Misch
Date:
Add a wait_for_catchup() before immediate stop of a test master.

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

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ab7699e86c161960c44b51d1a7e6d32784cf5299

Modified Files
--------------
src/test/recovery/t/010_logical_decoding_timelines.pl | 1 +
1 file changed, 1 insertion(+)