Commit d64d2e21 authored by antirez's avatar antirez
Browse files

Make tests compatible with new INFO replication output.

parent 2ec7875c
...@@ -112,7 +112,7 @@ start_server {tags {"repl"}} { ...@@ -112,7 +112,7 @@ start_server {tags {"repl"}} {
set retry 500 set retry 500
while {$retry} { while {$retry} {
set info [r -3 info] 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 break
} else { } else {
incr retry -1 incr retry -1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment