Skip to content
This repository has been archived by the owner on Jan 2, 2018. It is now read-only.

Commit

Permalink
Possible fix for false positives in issue 141 regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Jan 12, 2012
1 parent fbfe656 commit 8b8261e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/integration/replication.tcl
Expand Up @@ -115,7 +115,11 @@ start_server {tags {"repl"}} {
stop_write_load $load_handle2
stop_write_load $load_handle3
stop_write_load $load_handle4
after 1000
set retry 10
while {$retry && ([$master debug digest] ne [[lindex $slaves 0] debug digest])} {
after 1000
incr retry -1
}
set digest [$master debug digest]
set digest0 [[lindex $slaves 0] debug digest]
set digest1 [[lindex $slaves 1] debug digest]
Expand Down

0 comments on commit 8b8261e

Please sign in to comment.