fix new rdb test failing on timing issues (#7604)

apparenlty on github actions sometimes 500ms is not enough
This commit is contained in:
Oran Agra 2020-08-04 08:53:50 +03:00 committed by GitHub
parent 2f454e5ae8
commit 824bd2ac11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,10 +139,10 @@ start_server {} {
test {bgsave resets the change counter} {
r config set rdb-key-save-delay 0
r bgsave
wait_for_condition 5 100 {
wait_for_condition 50 100 {
[s rdb_bgsave_in_progress] == 0
} else {
fail "bgsave not aborted"
fail "bgsave not done"
}
assert_equal [s rdb_changes_since_last_save] 0
}