summaryrefslogtreecommitdiff
path: root/tests/cluster/tests/12-replica-migration-2.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cluster/tests/12-replica-migration-2.tcl')
-rw-r--r--tests/cluster/tests/12-replica-migration-2.tcl6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cluster/tests/12-replica-migration-2.tcl b/tests/cluster/tests/12-replica-migration-2.tcl
index dd18a979a..ea80d81d3 100644
--- a/tests/cluster/tests/12-replica-migration-2.tcl
+++ b/tests/cluster/tests/12-replica-migration-2.tcl
@@ -29,6 +29,12 @@ test "Each master should have at least two replicas attached" {
}
}
+test "Set allow-replica-migration yes" {
+ foreach_redis_id id {
+ R $id CONFIG SET cluster-allow-replica-migration yes
+ }
+}
+
set master0_id [dict get [get_myself 0] id]
test "Resharding all the master #0 slots away from it" {
set output [exec \