Fix instability in 026_overwrite_contrecord.pl test.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 9 Nov 2021 23:40:19 +0000 (18:40 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 9 Nov 2021 23:40:19 +0000 (18:40 -0500)
commitb66767b56b1cd082f3499a7e5a21b480dd004f51
treeff22f1613e11d8508a422184a32a45cb154f9234
parent5a1007a5088cd6ddf892f7422ea8dbaef362372f
Fix instability in 026_overwrite_contrecord.pl test.

We've seen intermittent failures in this test on slower buildfarm
machines, which I think can be explained by assuming that autovacuum
emitted some additional WAL.  Disable autovacuum to stabilize it.

In passing, use stringwise not numeric comparison to compare
WAL file names.  Doesn't matter at present, but they are
hex strings not decimal ...

Discussion: https://postgr.es/m/1372189.1636499287@sss.pgh.pa.us
src/test/recovery/t/026_overwrite_contrecord.pl