diff --git a/tests/modules/cluster.c b/tests/modules/cluster.c index 33dbfe9c4a..20f00bae52 100644 --- a/tests/modules/cluster.c +++ b/tests/modules/cluster.c @@ -41,7 +41,7 @@ int ValkeyModule_OnLoad(ValkeyModuleCtx *ctx, ValkeyModuleString **argv, int arg if (ValkeyModule_Init(ctx, "cluster", 1, VALKEYMODULE_APIVER_1)== VALKEYMODULE_ERR) return VALKEYMODULE_ERR; - if (ValkeyModule_CreateCommand(ctx, "test.cluster_slots", test_cluster_slots, "",0,0,0) == VALKEYMODULE_ERR) + if (ValkeyModule_CreateCommand(ctx, "test.cluster_slots", test_cluster_slots, "", 0, 0, 0) == VALKEYMODULE_ERR) return VALKEYMODULE_ERR; if (ValkeyModule_CreateCommand(ctx, "test.cluster_shards", test_cluster_shards, "", 0, 0, 0) == VALKEYMODULE_ERR) diff --git a/tests/unit/moduleapi/cluster.tcl b/tests/unit/moduleapi/cluster.tcl index af29cbfe88..5e4244d684 100644 --- a/tests/unit/moduleapi/cluster.tcl +++ b/tests/unit/moduleapi/cluster.tcl @@ -240,13 +240,13 @@ start_cluster 3 0 [list config_lines $modules] { set node2 [srv -1 client] set node3 [srv -2 client] - test "RM_Call with cluster slots" { + test "VM_CALL with cluster slots" { assert_equal [lsort [$node1 cluster slots]] [lsort [$node1 test.cluster_slots]] assert_equal [lsort [$node2 cluster slots]] [lsort [$node2 test.cluster_slots]] assert_equal [lsort [$node3 cluster slots]] [lsort [$node3 test.cluster_slots]] } - test "RM_Call with cluster shards" { + test "VM_CALL with cluster shards" { assert_equal [lsort [$node1 cluster shards]] [lsort [$node1 test.cluster_shards]] assert_equal [lsort [$node2 cluster shards]] [lsort [$node2 test.cluster_shards]] assert_equal [lsort [$node3 cluster shards]] [lsort [$node3 test.cluster_shards]]