diff options
author | Yossi Gottlieb <yossigo@gmail.com> | 2020-05-10 17:38:04 +0300 |
---|---|---|
committer | Yossi Gottlieb <yossigo@gmail.com> | 2020-05-10 17:38:04 +0300 |
commit | 4d1178cc2447c2b993ed565f62afdf7eb8fe367b (patch) | |
tree | 5d9379d132d9cd98ed86772f96aa99674826304c | |
parent | 1750513ac762ef1d2d488e3c7d79a1002a905508 (diff) | |
download | redis-4d1178cc2447c2b993ed565f62afdf7eb8fe367b.tar.gz |
TLS: Fix test failures on recent Debian/Ubuntu.
Seems like on some systems choosing specific TLS v1/v1.1 versions no
longer works as expected. Test is reduced for v1.2 now which is still
good enough to test the mechansim, and matters most anyway.
-rw-r--r-- | tests/unit/tls.tcl | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/unit/tls.tcl b/tests/unit/tls.tcl index 950f65557..2b04590cd 100644 --- a/tests/unit/tls.tcl +++ b/tests/unit/tls.tcl @@ -25,26 +25,6 @@ start_server {tags {"tls"}} { } test {TLS: Verify tls-protocols behaves as expected} { - r CONFIG SET tls-protocols TLSv1 - - set s [redis [srv 0 host] [srv 0 port] 0 1 {-tls1 0}] - catch {$s PING} e - assert_match {*I/O error*} $e - - set s [redis [srv 0 host] [srv 0 port] 0 1 {-tls1 1}] - catch {$s PING} e - assert_match {PONG} $e - - r CONFIG SET tls-protocols TLSv1.1 - - set s [redis [srv 0 host] [srv 0 port] 0 1 {-tls1.1 0}] - catch {$s PING} e - assert_match {*I/O error*} $e - - set s [redis [srv 0 host] [srv 0 port] 0 1 {-tls1.1 1}] - catch {$s PING} e - assert_match {PONG} $e - r CONFIG SET tls-protocols TLSv1.2 set s [redis [srv 0 host] [srv 0 port] 0 1 {-tls1.2 0}] |