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
d64d2e21
Commit
d64d2e21
authored
May 30, 2013
by
antirez
Browse files
Make tests compatible with new INFO replication output.
parent
2ec7875c
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/integration/replication.tcl
View file @
d64d2e21
...
...
@@ -112,7 +112,7 @@ start_server {tags {"repl"}} {
set retry 500
while
{
$retry
}
{
set info
[
r -3 info
]
if
{[
string match
{
*slave0:*
,
online*slave1:*
,
online*slave2:*
,
online*
}
$info
]}
{
if
{[
string match
{
*slave0:*
state=
online*slave1:*
state=
online*slave2:*
state=
online*
}
$info
]}
{
break
}
else
{
incr retry -1
...
...
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