We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3122912 commit 3543a3cCopy full SHA for 3543a3c
tests/integration/replication-multimaster.tcl
@@ -36,8 +36,13 @@ start_server {overrides {hz 500 active-replica yes multi-master yes}} {
36
test "$topology replicates to all nodes" {
37
$R(0) set testkey foo
38
after 500
39
- assert_equal foo [$R(1) get testkey] "replicates to 1"
40
- assert_equal foo [$R(2) get testkey] "replicates to 2"
+ for {set n 0} {$n < 4} {incr n} {
+ wait_for_condition 50 1000 {
41
+ [$R($n) get testkey] == "foo"
42
+ } else {
43
+ fail "Failed to replicate to $n"
44
+ }
45
46
}
47
48
test "$topology replicates only once" {
0 commit comments