Commit e9304a8
committed
test: address review feedback on ssl/stream-mtls tests
- t/ssl.t: guard the openresty version parse so an unexpected `nginx -V`
output falls back to the pre-1.29 wording instead of warning on an undef
numeric comparison.
- t/stream/upstream_mtls.t: TEST 2 now also asserts the upstream rejects the
request ("No required SSL certificate was sent"), proving the handshake did
not succeed when set_cert_and_key rejected the missing key, not just that the
argument was rejected.1 parent f953f0a commit e9304a8
2 files changed
Lines changed: 9 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 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
89 | 93 | | |
90 | 94 | | |
91 | 95 | | |
| |||
0 commit comments