forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc14a9ee
committed
Avoid instabilities with the regression tests of pg_freespacemap
It was possible to run those tests with installcheck, but they areactually unstable as concurrent autovacuum jobs could prevent thetruncation of the filespace map to happen (aka the scan of pg_databasewhen building the list of relations to clean), an assumption we rely onwhen checking that the FSM of the relation gets truncated during amanual vacuum after deleting all the relation's data.This commit adds a NO_INSTALLCHECK to disallow installcheck, andintroduces the use of a custom configuration file with autovacuumdisabled.It happens that we already do that in the recovery test008_fsm_truncation, for example.Reported-by: Tom Lane, via buildfarm member skinkDiscussion:https://postgr.es/m/381910.1648401526@sss.pgh.pa.us1 parenta2c8499 commitc14a9ee
2 files changed
+6
-0
lines changedLines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| 13 | + | |
13 | 14 |
| |
14 | 15 |
| |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 |
| |
16 | 21 |
| |
17 | 22 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + |
0 commit comments
Comments
(0)