Add a test to prove current tcl cluster client can not handle keys with hash tag.

This commit is contained in:
WuYunlong 2020-05-11 13:13:51 +08:00
parent 1750513ac7
commit bc9efb577b

View File

@ -41,4 +41,10 @@ test "client do not break when cluster slot" {
if { [catch {R 0 cluster slots}] } {
fail "output overflow when cluster slots"
}
}
}
test "client can handle keys with hash tag" {
set cluster [redis_cluster 127.0.0.1:[get_instance_attrib redis 0 port]]
$cluster set foo{tag} bar
$cluster close
}