diff options
author | Itamar Haber <itamar@garantiadata.com> | 2021-10-24 12:32:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-24 12:32:53 +0300 |
commit | 48e4d7709961f7e1ca94dea86ff3b57c4b9710ec (patch) | |
tree | efb31fad37cd1a3afa40550253331f0311876093 /tests/cluster | |
parent | 5f89c1d4f767790e987ac508c26d632fc3c1c246 (diff) | |
download | redis-48e4d7709961f7e1ca94dea86ff3b57c4b9710ec.tar.gz |
Fixes `CLUSTER COUNTKEYSINSLOT` (#9672)
Introduced via typo in #9504.
Also adds a sanity test for coverage.
Diffstat (limited to 'tests/cluster')
-rw-r--r-- | tests/cluster/tests/00-base.tcl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cluster/tests/00-base.tcl b/tests/cluster/tests/00-base.tcl index 280befb9d..e731bf6a3 100644 --- a/tests/cluster/tests/00-base.tcl +++ b/tests/cluster/tests/00-base.tcl @@ -54,6 +54,11 @@ test "Nodes should report cluster_state is ok now" { assert_cluster_state ok } +test "Sanity for CLUSTER COUNTKEYSINSLOT" { + set reply [R 0 CLUSTER COUNTKEYSINSLOT 0] + assert {$reply eq 0} +} + test "It is possible to write and read from the cluster" { cluster_write_test 0 } |