Disable flaky empty shard slot migration tests (#1027)

Will continue my investigation offline

Signed-off-by: Ping Xie <pingxie@google.com>
This commit is contained in:
Ping Xie 2024-09-13 00:02:39 -07:00 committed by GitHub
parent f7c5b40183
commit 3cc619f637
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -218,6 +218,7 @@ 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]
@ -294,6 +295,7 @@ 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]