Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
123cc1a1
Unverified
Commit
123cc1a1
authored
Oct 06, 2021
by
yoav-steinberg
Committed by
GitHub
Oct 06, 2021
Browse files
Test fails when flushdb triggers a bgsave (#9535)
Flush db and *then* wait for the bgsave to complete.
parent
5725088f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/other.tcl
View file @
123cc1a1
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment