Commit 916b215f authored by Oran Agra's avatar Oran Agra
Browse files

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

apparenlty on github actions sometimes 500ms is not enough

(cherry picked from commit 824bd2ac)
parent 9f0e8f78
...@@ -139,10 +139,10 @@ start_server {} { ...@@ -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
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment