Re-enable empty-shard slot migration tests (#1024)
Related to #734 and #858 Signed-off-by: Ping Xie <pingxie@google.com>
This commit is contained in:
parent
3513f22027
commit
76a59788e6
@ -218,7 +218,6 @@ proc create_empty_shard {p r} {
|
|||||||
|
|
||||||
# Temporarily disable empty shard migration tests while we
|
# Temporarily disable empty shard migration tests while we
|
||||||
# work to reduce their flakiness. See https://github.com/valkey-io/valkey/issues/858.
|
# 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} } {
|
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]
|
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\]"
|
wait_for_slot_state 7 "\[609-<-$R0_id\]"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
proc migrate_slot {from to slot} {
|
proc migrate_slot {from to slot} {
|
||||||
set from_id [R $from CLUSTER MYID]
|
set from_id [R $from CLUSTER MYID]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user