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
0bb787d3
Commit
0bb787d3
authored
May 05, 2016
by
antirez
Browse files
Quick fix to avoid false positive in replica migration test.
parent
d827dbfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/cluster/tests/12-replica-migration-2.tcl
View file @
0bb787d3
...
...
@@ -45,11 +45,14 @@ test "Master #0 should lose its replicas" {
}
test
"Resharding all the master #0 slots back to it"
{
# Wait for the cluster config to propagate before attempting a
# new resharding.
after 10000
set output
[
exec
\
../../../src/redis-trib.rb rebalance
\
--weight $
{
master0_id
}
=1
\
--use-empty-masters
\
127.0.0.1:
[
get_instance_attrib redis 0 port
]]
127.0.0.1:
[
get_instance_attrib redis 0 port
]
>@ stdout
]
}
test
"Master #0 should re-acquire one or more replicas"
{
...
...
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