mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Cluster test: 03 unit speedup, don't send WAIT to slaves.
This commit is contained in:
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" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user