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