fix new rdb test failing on timing issues (#7604)
apparenlty on github actions sometimes 500ms is not enough
This commit is contained in:
parent
2f454e5ae8
commit
824bd2ac11
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user