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

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add a wait_for_catchup() before immediate stop of a test master.
Date: 2020-04-14 01:48:45
Message-ID: E1jOAgv-0003TQ-9L@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2020-04-14 02:27:50 pgsql: Make _bt_insertonpg() more like _bt_split().
Previous Message Alvaro Herrera 2020-04-13 23:59:40 pgsql: Silence Perl warning