Add a test to prove current tcl cluster client can not handle keys with hash tag.
This commit is contained in:
parent
87da1483a0
commit
82752a96b1
@ -41,4 +41,10 @@ test "client do not break when cluster slot" {
|
|||||||
if { [catch {R 0 cluster slots}] } {
|
if { [catch {R 0 cluster slots}] } {
|
||||||
fail "output overflow when 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
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user