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 02:51:07 +0000 (14:51 +1200)
commit4f8cefcadef318f5ea446943a473e7364bd40ec6
tree61e7043e01fdc42444695945e00137372dc5f734
parent6f2525c775f28600038d8f06d361c9b059dad686
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