Commit 2b36706a authored by antirez's avatar antirez
Browse files

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.
parent 7c8ddab4
...@@ -47,7 +47,7 @@ proc test_psync {descr duration backlog_size backlog_ttl delay cond diskless rec ...@@ -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. # Check that the background clients are actually writing.
test {Detect write load to master} { test {Detect write load to master} {
wait_for_condition 50 100 { wait_for_condition 50 1000 {
[$master dbsize] > 100 [$master dbsize] > 100
} else { } else {
fail "Can't detect write load from background clients." fail "Can't detect write load from background clients."
......
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