pgsql: Stabilize 039_end_of_wal test. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Stabilize 039_end_of_wal test.
Date
Msg-id E1skEO8-002DHL-KU@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Stabilize 039_end_of_wal test.

The first test was sensitive to the insert LSN after setting up the
catalogs, which depended on environmental things like the locales on the
OS and usernames.  Switch to a new WAL file before the first test, as a
simple way to put every computer into the same state.

Back-patch to all supported releases.

Reported-by: Anton Voloshin <a.voloshin@postgrespro.ru>
Reported-by: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://postgr.es/m/b26aeac2-cb6d-4633-a7ea-945baae83dcf%40postgrespro.ru

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2534cd999e673b4e4a3c52233bbee5496a3c4b06

Modified Files
--------------
src/test/recovery/t/039_end_of_wal.pl | 6 ++++++
1 file changed, 6 insertions(+)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Stabilize 039_end_of_wal test.
Next
From: Thomas Munro
Date:
Subject: pgsql: Stabilize 039_end_of_wal test.