Commit 2d79dec
committed
test: make ssl/xrpc tests work with OpenResty 1.29.2.4 runtime
The apisix-runtime build moved to OpenResty 1.29.2.4 (lua-resty-core /
stream-lua 0.0.19), which changed behavior these tests assert on:
- t/ssl.t TEST 3/5: the lua-resty-core tlshandshake patch reworded its
validation errors ("... both setting" -> "... cannot both be set";
"bad client_cert option type" -> "bad client_cert_path option type").
Match both wordings with a version-tolerant regex so the test passes on
both runtimes.
- t/stream/xrpc/{downstream,upstream}.t: assert stream-lua internal
buffer-allocation debug logs that no longer appear in stream-lua 0.0.19.
Exclude them on apisix-runtime; they still run on api7ee-runtime
(OR 1.21, stream-lua 0.0.16) for functional coverage.1 parent 68c2219 commit 2d79dec
2 files changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
190 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
| |||
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
278 | | - | |
279 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
0 commit comments