forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8700a48
committed
Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing timeouts.
Slow hosts may avoid load-induced, spurious failures by settingenvironment variable PG_TEST_TIMEOUT_DEFAULT to some number of secondsgreater than 180. Developers may see faster failures by setting thatenvironment variable to some lesser number of seconds. In tests, write$PostgreSQL::Test::Utils::timeout_default wherever the convention hasbeen to write 180. This change raises the default for some briefertimeouts. Back-patch to v10 (all supported versions).Discussion:https://postgr.es/m/20220218052842.GA3627003@rfd.leadboat.com1 parent4b0696b commit8700a48
File tree
11 files changed
+42
-30
lines changed- contrib/amcheck/t
- src
- bin
- pg_ctl/t
- pg_dump/t
- scripts/t
- test
- perl
- recovery/t
11 files changed
+42
-30
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
| 22 | + | |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
|
Lines changed: 8 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| |||
38 | 39 |
| |
39 | 40 |
| |
40 | 41 |
| |
41 |
| - | |
| 42 | + | |
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
| |||
52 | 53 |
| |
53 | 54 |
| |
54 | 55 |
| |
55 |
| - | |
| 56 | + | |
56 | 57 |
| |
57 | 58 |
| |
58 | 59 |
| |
| |||
113 | 114 |
| |
114 | 115 |
| |
115 | 116 |
| |
116 |
| - | |
117 |
| - | |
118 |
| - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
119 | 121 |
| |
120 | 122 |
| |
121 | 123 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
| 27 | + | |
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
271 | 271 |
| |
272 | 272 |
| |
273 | 273 |
| |
274 |
| - | |
| 274 | + | |
| 275 | + | |
275 | 276 |
| |
276 | 277 |
| |
277 | 278 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 |
| - | |
| 18 | + | |
| 19 | + | |
20 | 20 |
|
Lines changed: 10 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
| 34 | + | |
| 35 | + | |
35 | 36 |
| |
36 | 37 |
| |
37 | 38 |
| |
| |||
1412 | 1413 |
| |
1413 | 1414 |
| |
1414 | 1415 |
| |
1415 |
| - | |
| 1416 | + | |
| 1417 | + | |
1416 | 1418 |
| |
1417 | 1419 |
| |
1418 | 1420 |
| |
| |||
1569 | 1571 |
| |
1570 | 1572 |
| |
1571 | 1573 |
| |
1572 |
| - | |
| 1574 | + | |
| 1575 | + | |
1573 | 1576 |
| |
1574 | 1577 |
| |
1575 | 1578 |
| |
| |||
1741 | 1744 |
| |
1742 | 1745 |
| |
1743 | 1746 |
| |
1744 |
| - | |
| 1747 | + | |
1745 | 1748 |
| |
1746 | 1749 |
| |
1747 | 1750 |
| |
| |||
1754 | 1757 |
| |
1755 | 1758 |
| |
1756 | 1759 |
| |
1757 |
| - | |
| 1760 | + | |
1758 | 1761 |
| |
1759 | 1762 |
| |
1760 | 1763 |
| |
| |||
1776 | 1779 |
| |
1777 | 1780 |
| |
1778 | 1781 |
| |
1779 |
| - | |
1780 |
| - | |
| 1782 | + | |
| 1783 | + | |
1781 | 1784 |
| |
1782 | 1785 |
| |
1783 | 1786 |
| |
|
Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 |
| - | |
| 55 | + | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
| |||
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
104 | 108 |
| |
105 | 109 |
| |
106 | 110 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
80 |
| - | |
| 80 | + | |
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
| 92 | + | |
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
155 | 155 |
| |
156 | 156 |
| |
157 | 157 |
| |
158 |
| - | |
| 158 | + | |
159 | 159 |
| |
160 | 160 |
| |
161 | 161 |
| |
| |||
184 | 184 |
| |
185 | 185 |
| |
186 | 186 |
| |
187 |
| - | |
| 187 | + | |
188 | 188 |
| |
189 | 189 |
| |
190 | 190 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 |
| - | |
| 26 | + | |
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
|
Lines changed: 7 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
125 |
| - | |
| 125 | + | |
126 | 126 |
| |
127 | 127 |
| |
128 | 128 |
| |
| |||
133 | 133 |
| |
134 | 134 |
| |
135 | 135 |
| |
136 |
| - | |
| 136 | + | |
| 137 | + | |
137 | 138 |
| |
138 | 139 |
| |
139 |
| - | |
| 140 | + | |
140 | 141 |
| |
141 | 142 |
| |
142 | 143 |
| |
| |||
186 | 187 |
| |
187 | 188 |
| |
188 | 189 |
| |
189 |
| - | |
| 190 | + | |
190 | 191 |
| |
191 | 192 |
| |
192 | 193 |
| |
| |||
202 | 203 |
| |
203 | 204 |
| |
204 | 205 |
| |
205 |
| - | |
206 |
| - | |
| 206 | + | |
| 207 | + | |
207 | 208 |
| |
208 | 209 |
| |
209 | 210 |
|
0 commit comments
Comments
(0)