Commit 0a0aeb2
committed
test(tls): pin use_tls=False to client config, not negotiated cipher
test_insecure_connection asserted Ssl_cipher == '', but a MySQL 8 server with
TLS configured (the datajoint/mysql:8.0 test image) can negotiate TLS during
connection setup even when the client requests no SSL. Whether the cipher ends
up empty depends on the resolved client stack, so the assertion passed on the
py3.13 solve but failed on the py3.10/py3.14 matrix added in this PR. Assert
what DataJoint actually controls: use_tls=False sends no client-side SSL config
and the connection is usable.1 parent 2aeda24 commit 0a0aeb2
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
44 | 56 | | |
45 | 57 | | |
46 | 58 | | |
| |||
0 commit comments