Fix tests under wal_level=minimal

Buildfarm members which have specifically configured to use
wal_level=minimal fail the repack regression tests, which require
wal_level=replica.  Add a temp config file to fix that.
This commit is contained in:
Álvaro Herrera 2026-04-07 15:14:32 +02:00
parent 257c8231bf
commit be142fa008
No known key found for this signature in database
GPG key ID: 1C20ACB9D5C564AE
3 changed files with 8 additions and 0 deletions

View file

@ -19,6 +19,9 @@ ISOLATION = basic \
syscache-update-pruned \
heap_lock_update
# some isolation tests require wal_level=replica
ISOLATION_OPTS = --temp-config $(top_srcdir)/src/test/modules/injection_points/extra.conf
# The injection points are cluster-wide, so disable installcheck
NO_INSTALLCHECK = 1

View file

@ -0,0 +1 @@
wal_level=replica

View file

@ -53,5 +53,9 @@ tests += {
'runningcheck': false, # see syscache-update-pruned
# Some tests wait for all snapshots, so avoid parallel execution
'runningcheck-parallel': false,
# some tests require wal_level=replica
'regress_args': [
'--temp-config', files('extra.conf'),
],
},
}