forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit800cd3e
committed
Stabilize xid_wraparound tests
The tests had a race condition if autovacuum was set to off. Instead wecreate all the tables we are interested in with autovacuum disabled, sothey are only ever touched when in danger of wraparound.Discussion:https://postgr.es/m/3e2cbd24-f45e-4b2b-ba83-8149214f0a4d@dunslane.netMasahiko Sawada (slightly tweaked by me)Backpatch to release 17 where these tests were introduced.1 parent03b08c8 commit800cd3e
File tree
3 files changed
+19
-21
lines changed- src/test/modules/xid_wraparound/t
3 files changed
+19
-21
lines changedLines changed: 13 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
22 | 21 |
| |
23 | 22 |
| |
24 | 23 |
| |
| |||
27 | 26 |
| |
28 | 27 |
| |
29 | 28 |
| |
30 |
| - | |
| 29 | + | |
| 30 | + | |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
| 34 | + | |
34 | 35 |
| |
35 | 36 |
| |
36 |
| - | |
| 37 | + | |
| 38 | + | |
37 | 39 |
| |
38 | 40 |
| |
39 |
| - | |
| 41 | + | |
| 42 | + | |
40 | 43 |
| |
41 | 44 |
| |
42 |
| - | |
| 45 | + | |
| 46 | + | |
43 | 47 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 | 48 |
| |
48 | 49 |
| |
49 | 50 |
| |
| |||
63 | 64 |
| |
64 | 65 |
| |
65 | 66 |
| |
66 |
| - | |
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
| |||
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
110 |
| - | |
| 110 | + | |
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
114 |
| - | |
115 |
| - | |
| 114 | + | |
116 | 115 |
| |
117 | 116 |
| |
118 | 117 |
| |
119 | 118 |
| |
120 | 119 |
| |
121 | 120 |
| |
122 |
| - | |
123 |
| - | |
| 121 | + | |
124 | 122 |
| |
125 | 123 |
| |
126 | 124 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 | 30 |
| |
32 | 31 |
| |
33 | 32 |
| |
34 | 33 |
| |
35 | 34 |
| |
36 | 35 |
| |
37 |
| - | |
| 36 | + | |
| 37 | + | |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
25 | 24 |
| |
26 | 25 |
| |
27 | 26 |
| |
| |||
30 | 29 |
| |
31 | 30 |
| |
32 | 31 |
| |
33 |
| - | |
| 32 | + | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 |
| - | |
| 36 | + | |
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
|
0 commit comments
Comments
(0)