1
0
mirror of https://github.com/fluencelabs/redis synced 2025-03-18 00:20:50 +00:00

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

@ -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" {