From 2b36706a48759ac6ed991ab1f8257de122425a75 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 22 Feb 2017 12:27:01 +0100 Subject: [PATCH] Test: replication-psync, wait more to detect write load. Slow systems like the original Raspberry PI need more time than 5 seconds to start the script and detect writes. After fixing the Raspberry PI can pass the unit without issues. --- tests/integration/replication-psync.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/replication-psync.tcl b/tests/integration/replication-psync.tcl index 3a41ceb2..da1e9cf5 100644 --- a/tests/integration/replication-psync.tcl +++ b/tests/integration/replication-psync.tcl @@ -47,7 +47,7 @@ proc test_psync {descr duration backlog_size backlog_ttl delay cond diskless rec # Check that the background clients are actually writing. test {Detect write load to master} { - wait_for_condition 50 100 { + wait_for_condition 50 1000 { [$master dbsize] > 100 } else { fail "Can't detect write load from background clients."