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

This commit is contained in:
Yossi Gottlieb 2021-03-08 21:22:08 +02:00 committed by GitHub
parent 7d81f39222
commit 817894c012
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,6 +309,12 @@ start_server {tags {"other"}} {
populate 4096 "" 1
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
# Hash table should not rehash
assert_no_match "*table size: 8192*" [r debug HTSTATS 9]