Commit f953f0a
committed
test: make ssl/xrpc tests work with OpenResty 1.29.2.4 runtime
t/ssl.t TEST 3 and TEST 5 assert error messages emitted by our own
lua-resty-core-tlshandshake patch, whose wording differs between the
OpenResty 1.21.x patch and the 1.29.2.4 patch. Detect the running
openresty version via 'nginx -v' and assert the exact message for that
version instead of a loose regex, so a wrong-message regression is still
caught.
xrpc downstream/upstream tests assert stream-lua internal
buffer-allocation debug logs that changed in stream-lua 0.0.19
(OpenResty 1.29.2.4); exclude them on apisix-runtime only.1 parent 68c2219 commit f953f0a
2 files changed
Lines changed: 23 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 | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
7 | 22 | | |
8 | 23 | | |
9 | 24 | | |
| |||
186 | 201 | | |
187 | 202 | | |
188 | 203 | | |
189 | | - | |
190 | | - | |
| 204 | + | |
| 205 | + | |
191 | 206 | | |
192 | 207 | | |
193 | 208 | | |
| |||
275 | 290 | | |
276 | 291 | | |
277 | 292 | | |
278 | | - | |
279 | | - | |
| 293 | + | |
| 294 | + | |
0 commit comments