From 48e4d7709961f7e1ca94dea86ff3b57c4b9710ec Mon Sep 17 00:00:00 2001 From: Itamar Haber Date: Sun, 24 Oct 2021 12:32:53 +0300 Subject: Fixes `CLUSTER COUNTKEYSINSLOT` (#9672) Introduced via typo in #9504. Also adds a sanity test for coverage. --- tests/cluster/tests/00-base.tcl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/cluster') 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 } -- cgit v1.2.1