From ad2cf3ddeb5c24f913b964c6fd8c2bd8ad8b88bd Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 26 Jun 2014 22:13:46 +0200 Subject: [PATCH] Fixed assert conditional in ROLE command test. --- 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 131eebe54..9bad9cbe7 100644 --- a/tests/integration/replication.tcl +++ b/tests/integration/replication.tcl @@ -82,7 +82,7 @@ start_server {tags {"repl"}} { assert {$offset > 0} assert {[llength $slaves] == 1} lassign [lindex $slaves 0] master_host master_port slave_offset - assert {$slave_offset < $offset} + assert {$slave_offset <= $offset} } test {ROLE in slave reports slave in connected state} {