Unverified Commit 123cc1a1 authored by yoav-steinberg's avatar yoav-steinberg Committed by GitHub
Browse files

Test fails when flushdb triggers a bgsave (#9535)

Flush db and *then* wait for the bgsave to complete.
parent 5725088f
...@@ -39,8 +39,8 @@ start_server {tags {"other"}} { ...@@ -39,8 +39,8 @@ start_server {tags {"other"}} {
} }
test {BGSAVE} { test {BGSAVE} {
waitForBgsave r
r flushdb r flushdb
waitForBgsave r
r save r save
r set x 10 r set x 10
r bgsave r bgsave
......
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