Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
8f5c2bc8
Unverified
Commit
8f5c2bc8
authored
May 14, 2020
by
Salvatore Sanfilippo
Committed by
GitHub
May 14, 2020
Browse files
Merge pull request #7229 from yossigo/tls-fails-on-recent-debian
TLS: Fix test failures on recent Debian/Ubuntu.
parents
112e19a5
4d1178cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/tls.tcl
View file @
8f5c2bc8
...
...
@@ -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
}]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment