From 276b460ea9554f79109eb9a234a847a2520cf4c2 Mon Sep 17 00:00:00 2001 From: Oran Agra Date: Mon, 18 Oct 2021 10:45:45 +0300 Subject: 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) --- tests/integration/replication.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/integration/replication.tcl b/tests/integration/replication.tcl index e084be682..3169245b1 100644 --- a/tests/integration/replication.tcl +++ b/tests/integration/replication.tcl @@ -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" -- cgit v1.2.1