Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
8b1cda75
Unverified
Commit
8b1cda75
authored
Jan 30, 2022
by
Madelyn Olson
Committed by
GitHub
Jan 30, 2022
Browse files
Change replica migration tests to use continous slots to improve speed (#10215)
parent
d364ede5
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/cluster/tests/12-replica-migration-2.tcl
View file @
8b1cda75
...
@@ -10,7 +10,7 @@ source "../../../tests/support/cli.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
# 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.
# empty masters and make rebalancing simpler to handle during the test.
test
"Create a 5 nodes cluster"
{
test
"Create a 5 nodes cluster"
{
c
reate_cluster
5 15
c
luster_create_with_continuous_slots
5 15
}
}
test
"Cluster is up"
{
test
"Cluster is up"
{
...
...
tests/cluster/tests/12.1-replica-migration-3.tcl
View file @
8b1cda75
...
@@ -9,7 +9,7 @@ source "../tests/includes/utils.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
# 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.
# empty masters and make rebalancing simpler to handle during the test.
test
"Create a 5 nodes cluster"
{
test
"Create a 5 nodes cluster"
{
c
reate_cluster
5 15
c
luster_create_with_continuous_slots
5 15
}
}
test
"Cluster is up"
{
test
"Cluster is up"
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment