diff --git a/tests/cluster/tests/12-replica-migration-2.tcl b/tests/cluster/tests/12-replica-migration-2.tcl index aecae0429f..f0493e57ef 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 7e00908456..790c73209c 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" {