more reliability fixes for multimaster

Former-commit-id: 3543a3c763de91a4d76bca89659fec9bf6b7a1c8
This commit is contained in:
John 2020-05-11 09:37:42 +00:00 committed by John Sully
parent 3d6f990104
commit 181fadb708

View File

@ -36,8 +36,13 @@ start_server {overrides {hz 500 active-replica yes multi-master yes}} {
test "$topology replicates to all nodes" {
$R(0) set testkey foo
after 500
assert_equal foo [$R(1) get testkey] "replicates to 1"
assert_equal foo [$R(2) get testkey] "replicates to 2"
for {set n 0} {$n < 4} {incr n} {
wait_for_condition 50 1000 {
[$R($n) get testkey] == "foo"
} else {
fail "Failed to replicate to $n"
}
}
}
test "$topology replicates only once" {