summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2020-05-14 18:15:17 +0200
committerGitHub <noreply@github.com>2020-05-14 18:15:17 +0200
commit8f5c2bc8aa79985f6767e4847cc5a5d9606b1b5c (patch)
tree009ca531e7c8b94fb290ce9b22bf14ecd3661f1b
parent112e19a59c7263e075d87674d99e84090ba72681 (diff)
parent4d1178cc2447c2b993ed565f62afdf7eb8fe367b (diff)
downloadredis-8f5c2bc8aa79985f6767e4847cc5a5d9606b1b5c.tar.gz
Merge pull request #7229 from yossigo/tls-fails-on-recent-debian
TLS: Fix test failures on recent Debian/Ubuntu.
-rw-r--r--tests/unit/tls.tcl20
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}]