mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Add a test to prove current tcl cluster client can not handle keys with hash tag.
This commit is contained in:
parent
1750513ac7
commit
bc9efb577b
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user