Fix new cli subscribed mode test in cluster mode (#1533)
We need to add a hash tag in cluster mode. Fixes #1531. Signed-off-by: Binbin <binloveplay1314@qq.com>
This commit is contained in:
parent
80c35402bc
commit
b207b421bc
@ -681,14 +681,13 @@ if {!$::tls} { ;# fake_redis_node doesn't support TLS
|
||||
}
|
||||
|
||||
test "valkey-cli pubsub mode with multiple shard channel subscriptions" {
|
||||
|
||||
set fd [open_cli]
|
||||
|
||||
write_cli $fd ":get pubsub"
|
||||
set pubsub_status [string trim [read_cli $fd]]
|
||||
assert_equal "0" $pubsub_status
|
||||
|
||||
write_cli $fd "SSUBSCRIBE schannel1 schannel2 schannel3"
|
||||
write_cli $fd "SSUBSCRIBE {schannel}1 {schannel}2 {schannel}3"
|
||||
set response [read_cli $fd]
|
||||
|
||||
write_cli $fd ":get pubsub"
|
||||
|
Loading…
x
Reference in New Issue
Block a user