From d64d2e21c93df54a7b39bcb7a46e34824edff75d Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 30 May 2013 11:43:43 +0200 Subject: [PATCH] Make tests compatible with new INFO replication output. --- tests/integration/replication.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/replication.tcl b/tests/integration/replication.tcl index 5ca6449f..5a320e78 100644 --- a/tests/integration/replication.tcl +++ b/tests/integration/replication.tcl @@ -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