From 8b1cda756812ba5fb697b0126cfbfa9dcd312bc8 Mon Sep 17 00:00:00 2001 From: Madelyn Olson <34459052+madolson@users.noreply.github.com> Date: Sun, 30 Jan 2022 22:44:32 -0800 Subject: [PATCH] Change replica migration tests to use continous slots to improve speed (#10215) --- tests/cluster/tests/12-replica-migration-2.tcl | 2 +- tests/cluster/tests/12.1-replica-migration-3.tcl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cluster/tests/12-replica-migration-2.tcl b/tests/cluster/tests/12-replica-migration-2.tcl index aecae0429..f0493e57e 100644 --- a/tests/cluster/tests/12-replica-migration-2.tcl +++ b/tests/cluster/tests/12-replica-migration-2.tcl @@ -10,7 +10,7 @@ source "../../../tests/support/cli.tcl" # Create a cluster with 5 master and 15 slaves, to make sure there are no # empty masters and make rebalancing simpler to handle during the test. test "Create a 5 nodes cluster" { - create_cluster 5 15 + cluster_create_with_continuous_slots 5 15 } test "Cluster is up" { diff --git a/tests/cluster/tests/12.1-replica-migration-3.tcl b/tests/cluster/tests/12.1-replica-migration-3.tcl index 7e0090845..790c73209 100644 --- a/tests/cluster/tests/12.1-replica-migration-3.tcl +++ b/tests/cluster/tests/12.1-replica-migration-3.tcl @@ -9,7 +9,7 @@ source "../tests/includes/utils.tcl" # Create a cluster with 5 master and 15 slaves, to make sure there are no # empty masters and make rebalancing simpler to handle during the test. test "Create a 5 nodes cluster" { - create_cluster 5 15 + cluster_create_with_continuous_slots 5 15 } test "Cluster is up" {