Test fails when flushdb triggers a bgsave (#9535)

Flush db and *then* wait for the bgsave to complete.
This commit is contained in:
yoav-steinberg 2021-10-06 11:50:47 +03:00 committed by GitHub
parent 5725088ff2
commit 123cc1a1bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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