summaryrefslogtreecommitdiff
path: root/tests/cluster
diff options
context:
space:
mode:
authorMadelyn Olson <34459052+madolson@users.noreply.github.com>2022-01-30 22:44:32 -0800
committerGitHub <noreply@github.com>2022-01-30 22:44:32 -0800
commit8b1cda756812ba5fb697b0126cfbfa9dcd312bc8 (patch)
tree7706e9bd5fb9364d78510694aab5766f0ecf062a /tests/cluster
parentd364ede59cb3c4e7b448450fa68e54b955bb220c (diff)
downloadredis-8b1cda756812ba5fb697b0126cfbfa9dcd312bc8.tar.gz
Change replica migration tests to use continous slots to improve speed (#10215)
Diffstat (limited to 'tests/cluster')
-rw-r--r--tests/cluster/tests/12-replica-migration-2.tcl2
-rw-r--r--tests/cluster/tests/12.1-replica-migration-3.tcl2
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" {