Fix instability in 026_overwrite_contrecord.pl test.
authorTom Lane <[email protected]>
Tue, 9 Nov 2021 23:40:19 +0000 (18:40 -0500)
committerTom Lane <[email protected]>
Tue, 9 Nov 2021 23:40:19 +0000 (18:40 -0500)
commit18ce21768a802434cc1707ede52f3a1e3c037a0e
tree34d78af950efcfb2c3505aa7bb2587f5e94df3cc
parent477008d10fb5a024038ed23f0beba901f1f47ae2
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