Skip to content

Commit

Permalink
Fix new cli subscribed mode test in cluster mode (#1533)
Browse files Browse the repository at this point in the history
We need to add a hash tag in cluster mode.
Fixes #1531.

Signed-off-by: Binbin <[email protected]>
  • Loading branch information
enjoy-binbin authored Jan 9, 2025
1 parent 80c3540 commit b207b42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/integration/valkey-cli.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b207b42

Please sign in to comment.