Additional test reliability fixes

Former-commit-id: dad5a902d394719ba722e487879fc283ca148786
This commit is contained in:
John Sully 2020-10-27 07:25:43 +00:00
parent 67003ec714
commit f6f5fc3ccf

View File

@ -80,7 +80,7 @@ start_server {tags {"active-repl"} overrides {active-replica yes}} {
test {Replication of EXPIREMEMBER (set) command (Active)} {
$master sadd testkey a b c d
wait_for_condition 50 100 {
wait_for_condition 50 200 {
[$master debug digest] eq [$slave debug digest]
} else {
fail "Failed to replicate set"
@ -274,10 +274,13 @@ start_server {tags {"active-repl"} overrides {active-replica yes}} {
wait_for_condition 50 1000 {
[string match *active-replica* [r role]]
} 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]
}
}
}