more reliability fixes for multimaster
Former-commit-id: 3543a3c763de91a4d76bca89659fec9bf6b7a1c8
This commit is contained in:
parent
0e6add2e84
commit
063672dbdb
@ -36,8 +36,13 @@ start_server {overrides {hz 500 active-replica yes multi-master yes}} {
|
|||||||
test "$topology replicates to all nodes" {
|
test "$topology replicates to all nodes" {
|
||||||
$R(0) set testkey foo
|
$R(0) set testkey foo
|
||||||
after 500
|
after 500
|
||||||
assert_equal foo [$R(1) get testkey] "replicates to 1"
|
for {set n 0} {$n < 4} {incr n} {
|
||||||
assert_equal foo [$R(2) get testkey] "replicates to 2"
|
wait_for_condition 50 1000 {
|
||||||
|
[$R($n) get testkey] == "foo"
|
||||||
|
} else {
|
||||||
|
fail "Failed to replicate to $n"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
test "$topology replicates only once" {
|
test "$topology replicates only once" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user