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

apparenlty on github actions sometimes 500ms is not enough

(cherry picked from commit 191b1181023b0860ec60afde7a41bd4f03c55097)
This commit is contained in:
Oran Agra 2020-08-04 08:53:50 +03:00
parent dd94ca7295
commit b4a6b4f28d

View File

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