- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit934630c
committed
Fix instability in parallel regression tests.
Commitf0c7b78 added a test case in case.sql that creates and then dropsboth an '=' operator and the type it's for. Given the right timing, thatcan cause a "cache lookup failed for type" failure in concurrent sessions,which see the '=' operator as a potential match for '=' in a query, butthen the type is gone by the time they inquire into its properties.It might be nice to make that behavior more robust someday, but as aback-patchable solution, adjust the new test case so that the operatoris never visible to other sessions. Like the previous commit, back-patchto all supported branches.Discussion: <5983.1471371667@sss.pgh.pa.us>1 parent3570ea4 commit934630c
2 files changed
+10
-10
lines changedLines changed: 4 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
305 | 305 |
| |
306 | 306 |
| |
307 | 307 |
| |
| 308 | + | |
| 309 | + | |
| 310 | + | |
308 | 311 |
| |
309 | 312 |
| |
310 | 313 |
| |
| |||
335 | 338 |
| |
336 | 339 |
| |
337 | 340 |
| |
| 341 | + | |
338 | 342 |
| |
339 | 343 |
| |
340 | 344 |
| |
341 | 345 |
| |
342 | 346 |
| |
343 |
| - | |
344 |
| - | |
345 |
| - | |
346 |
| - | |
347 |
| - |
Lines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
167 | 167 |
| |
168 | 168 |
| |
169 | 169 |
| |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
170 | 174 |
| |
171 | 175 |
| |
172 | 176 |
| |
| |||
194 | 198 |
| |
195 | 199 |
| |
196 | 200 |
| |
| 201 | + | |
| 202 | + | |
197 | 203 |
| |
198 | 204 |
| |
199 | 205 |
| |
200 | 206 |
| |
201 | 207 |
| |
202 | 208 |
| |
203 |
| - | |
204 |
| - | |
205 |
| - | |
206 |
| - | |
207 |
| - | |
|
0 commit comments
Comments
(0)