Stabilize 039_end_of_wal test.
authorThomas Munro <[email protected]>
Sat, 31 Aug 2024 02:32:08 +0000 (14:32 +1200)
committerThomas Munro <[email protected]>
Sat, 31 Aug 2024 03:01:02 +0000 (15:01 +1200)
commit2534cd999e673b4e4a3c52233bbee5496a3c4b06
tree76ec2e54626fe0136f9c2020d1ab3a1bf0205b59
parent44ad6523ed08d866914e548e4c4dc847ba3e1e76
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 <[email protected]>
Reported-by: Nathan Bossart <[email protected]>
Reviewed-by: Tom Lane <[email protected]>
Reviewed-by: Nathan Bossart <[email protected]>
Discussion: https://postgr.es/m/b26aeac2-cb6d-4633-a7ea-945baae83dcf%40postgrespro.ru
src/test/recovery/t/039_end_of_wal.pl