Commit afe949ef authored by antirez's avatar antirez
Browse files

Remove infinite loop from PSYNC test.

Added for debugging and forgot there.
parent 1066fed7
...@@ -102,10 +102,8 @@ test_psync {ok psync} 6 1000000 3600 0 { ...@@ -102,10 +102,8 @@ test_psync {ok psync} 6 1000000 3600 0 {
assert {[s -1 sync_partial_ok] > 0} assert {[s -1 sync_partial_ok] > 0}
} }
while 1 { test_psync {no backlog} 6 100 3600 0.5 {
test_psync {no backlog} 6 100 3600 0.5 { assert {[s -1 sync_partial_err] > 0}
assert {[s -1 sync_partial_err] > 0}
}
} }
test_psync {ok after delay} 3 100000000 3600 3 { test_psync {ok after delay} 3 100000000 3600 3 {
......
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