Commit 0d35b467 authored by antirez's avatar antirez
Browse files

Cluster test: 03 unit speedup, don't send WAIT to slaves.

parent ad87ec4f
...@@ -54,9 +54,12 @@ while {[incr iterations -1]} { ...@@ -54,9 +54,12 @@ while {[incr iterations -1]} {
catch {$cluster set $key:$i $val:$i} err catch {$cluster set $key:$i $val:$i} err
assert {$err eq {OK}} assert {$err eq {OK}}
} }
# Wait for the write to propagate to the slave # Wait for the write to propagate to the slave if we
# are going to kill a master.
if {$role eq {master}} {
R $tokill wait 1 20000 R $tokill wait 1 20000
} }
}
test "Killing node #$tokill" { test "Killing node #$tokill" {
kill_instance redis $tokill kill_instance redis $tokill
......
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