pgsql: Fix instability in 026_overwrite_contrecord.pl test.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix instability in 026_overwrite_contrecord.pl test.
Date: 2021-11-09 23:40:41
Message-ID: [email protected]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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/[email protected]

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5a3240cf6b2e9f5fb6befe7e1ac4c0c0464ce3d2

Modified Files
--------------
src/test/recovery/t/026_overwrite_contrecord.pl | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2021-11-10 01:01:23 pgsql: Add pg_checkpointer predefined role for CHECKPOINT command.
Previous Message noreply 2021-11-09 23:12:28 pgsql: Tag refs/tags/REL_12_9 was created