Unverified Commit 276b460e authored by Oran Agra's avatar Oran Agra Committed by GitHub
Browse files

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