mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Make tests compatible with new INFO replication output.
This commit is contained in:
parent
2ec7875cbf
commit
d64d2e21c9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user