forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbab1fd9
committed
Avoid installcheck failure in TAP tests using injection_points
These tests depend on the test module injection_points to be installed,but it may not be available as the contents of src/test/modules/ are notinstalled by default.This commit adds a workaround based on a scan of pg_available_extensionsto check if the extension is available, skipping the test if it is not.This allows installcheck to work transparently.There are more tests impacted by this problem on HEAD, but for now thisaddresses only the tests that exist on HEAD and v17 as the release isclose by.Reported-by: Maxim OrlovDiscussion:https://postgr.es/m/CACG=ezZkoT-pFz6a9XnyToiuR-Wg8fGELqHLoyBodr+2h-77qA@mail.gmail.comBackpatch-through: 171 parentff43b5e commitbab1fd9
File tree
2 files changed
+23
-0
lines changed- src/test
- modules/test_misc/t
- recovery/t
2 files changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
27 | 39 | | |
28 | 40 | | |
29 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
38 | 49 | | |
39 | 50 | | |
40 | 51 | | |
| |||
0 commit comments
Comments
(0)