Commit d862ba5
fix: skip TLE uninstall tests on extension install
In the pg_tle CI job, pgque is installed as an extension. Running
sql/pgque-tle-uninstall.sql from test_uninstall_guard.sql there
(correctly, after the C4/C9 fixes) drops the extension -- and the
whole pgque schema with it -- mid-suite, so the "plain install must
survive" assertion failed. Gate the sub-tests that execute the TLE
uninstall script behind a psql \if on pgque not being an extension
member, emitting the suite's usual SKIP notice; the extension path
of the script is covered by tests/test_tle_install.sql.
https://claude.ai/code/session_01KAaEGkQZmey1D1xCsVGmqv1 parent 884ad32 commit d862ba5
1 file changed
Lines changed: 21 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
39 | 55 | | |
40 | 56 | | |
41 | 57 | | |
| |||
78 | 94 | | |
79 | 95 | | |
80 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
81 | 101 | | |
82 | 102 | | |
83 | 103 | | |
| |||
91 | 111 | | |
92 | 112 | | |
93 | 113 | | |
94 | | - | |
| |||
0 commit comments