Skip to content

Commit

Permalink
Skip new redis-cli ASK test in TLS mode (redis#9312)
Browse files Browse the repository at this point in the history
  • Loading branch information
oranagra authored Aug 3, 2021
1 parent 4aa927d commit 52df350
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/redis-cli.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ start_server {tags {"cli"}} {
assert_equal "foo\nbar" [run_cli lrange list 0 -1]
}

if {!$::tls} { ;# fake_redis_node doesn't support TLS
test_nontty_cli "ASK redirect test" {
# Set up two fake Redis nodes.
set tclsh [info nameofexecutable]
Expand All @@ -250,6 +251,7 @@ start_server {tags {"cli"}} {
# Run the cli
assert_equal "OK" [run_cli_host_port_db "127.0.0.1" $port1 0 -c SET foo bar]
}
}

test_nontty_cli "Quoted input arguments" {
r set "\x00\x00" "value"
Expand Down

0 comments on commit 52df350

Please sign in to comment.