From 4203c2e132e56a54a1231dd79014742bb10edee7 Mon Sep 17 00:00:00 2001 From: Ping Xie Date: Wed, 11 Sep 2024 22:57:10 -0700 Subject: [PATCH] Re-enable empty-shard slot migration tests Signed-off-by: Ping Xie --- tests/unit/cluster/slot-migration.tcl | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/unit/cluster/slot-migration.tcl b/tests/unit/cluster/slot-migration.tcl index d798971968..c117e8304e 100644 --- a/tests/unit/cluster/slot-migration.tcl +++ b/tests/unit/cluster/slot-migration.tcl @@ -218,7 +218,6 @@ proc create_empty_shard {p r} { # Temporarily disable empty shard migration tests while we # work to reduce their flakiness. See https://github.com/valkey-io/valkey/issues/858. -if {0} { start_cluster 3 5 {tags {external:skip cluster} overrides {cluster-allow-replica-migration no cluster-node-timeout 1000} } { set node_timeout [lindex [R 0 CONFIG GET cluster-node-timeout] 1] @@ -295,7 +294,6 @@ start_cluster 3 5 {tags {external:skip cluster} overrides {cluster-allow-replica wait_for_slot_state 7 "\[609-<-$R0_id\]" } } -} proc migrate_slot {from to slot} { set from_id [R $from CLUSTER MYID]