Attempt to fix a valgrind test failure due to timing (#9643)

in the past few days i've seen two failures in the valgrind daily test.

*** [err]: slave fails full sync and diskless load swapdb recovers it in tests/integration/replication.tcl
Replica didn't get into loading mode

can't reproduce it, but i'm hoping it's just too slow (to start loading within 5 seconds)
This commit is contained in:
Oran Agra 2021-10-18 10:45:45 +03:00 committed by GitHub
parent afd8c4e007
commit 276b460ea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -413,7 +413,7 @@ test {slave fails full sync and diskless load swapdb recovers it} {
$slave slaveof $master_host $master_port
# wait for the slave to start reading the rdb
wait_for_condition 50 100 {
wait_for_condition 100 100 {
[s -1 loading] eq 1
} else {
fail "Replica didn't get into loading mode"