Skip to content

Commit

Permalink
Re-enable empty-shard slot migration tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ping Xie <[email protected]>
  • Loading branch information
PingXie committed Sep 12, 2024
1 parent 8cca11a commit 4203c2e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/unit/cluster/slot-migration.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 4203c2e

Please sign in to comment.