mirror of
https://github.com/postgres/postgres.git
synced 2026-04-22 22:59:54 -04:00
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:
parent
257c8231bf
commit
be142fa008
3 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
1
src/test/modules/injection_points/extra.conf
Normal file
1
src/test/modules/injection_points/extra.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
wal_level=replica
|
||||
|
|
@ -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'),
|
||||
],
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue