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

This commit is contained in:
antirez 2014-07-25 16:09:31 +02:00
parent ad87ec4fb7
commit 0d35b46761

View File

@ -54,8 +54,11 @@ while {[incr iterations -1]} {
catch {$cluster set $key:$i $val:$i} err
assert {$err eq {OK}}
}
# Wait for the write to propagate to the slave
R $tokill wait 1 20000
# 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
}
}
test "Killing node #$tokill" {