Additional test reliability fixes
Former-commit-id: dad5a902d394719ba722e487879fc283ca148786
This commit is contained in:
parent
67003ec714
commit
f6f5fc3ccf
@ -78,9 +78,9 @@ start_server {tags {"active-repl"} overrides {active-replica yes}} {
|
|||||||
$master flushall
|
$master flushall
|
||||||
}
|
}
|
||||||
|
|
||||||
test {Replication of EXPIREMEMBER (set) command (Active)} {
|
test {Replication of EXPIREMEMBER (set) command (Active)} {
|
||||||
$master sadd testkey a b c d
|
$master sadd testkey a b c d
|
||||||
wait_for_condition 50 100 {
|
wait_for_condition 50 200 {
|
||||||
[$master debug digest] eq [$slave debug digest]
|
[$master debug digest] eq [$slave debug digest]
|
||||||
} else {
|
} else {
|
||||||
fail "Failed to replicate set"
|
fail "Failed to replicate set"
|
||||||
@ -274,10 +274,13 @@ start_server {tags {"active-repl"} overrides {active-replica yes}} {
|
|||||||
wait_for_condition 50 1000 {
|
wait_for_condition 50 1000 {
|
||||||
[string match *active-replica* [r role]]
|
[string match *active-replica* [r role]]
|
||||||
} else {
|
} else {
|
||||||
fail [$slave role]
|
fail "Replica did not connect"
|
||||||
|
}
|
||||||
|
wait_for_condition 50 1000 {
|
||||||
|
[string match "2" [r dbsize]]
|
||||||
|
} else {
|
||||||
|
fail "key did not propogate"
|
||||||
}
|
}
|
||||||
after 1000
|
|
||||||
assert_equal 2 [r dbsize]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user