Unverified Commit 817894c0 authored by Yossi Gottlieb's avatar Yossi Gottlieb Committed by GitHub
Browse files

Fix test false positive due to a race condition. (#8616)

parent 7d81f392
...@@ -309,6 +309,12 @@ start_server {tags {"other"}} { ...@@ -309,6 +309,12 @@ start_server {tags {"other"}} {
populate 4096 "" 1 populate 4096 "" 1
r bgsave r bgsave
wait_for_condition 10 100 {
[s rdb_bgsave_in_progress] eq 1
} else {
fail "bgsave did not start in time"
}
r mset k1 v1 k2 v2 r mset k1 v1 k2 v2
# Hash table should not rehash # Hash table should not rehash
assert_no_match "*table size: 8192*" [r debug HTSTATS 9] assert_no_match "*table size: 8192*" [r debug HTSTATS 9]
......
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