Allow more time on the concurrency test

Spawning processes is apparently really slow on Windows, and the test is
occasionally taking slightly more than a second on AppVeyor. I think we
can allow up to the full 2.5 seconds without losing the valuable bits of
the test.
This commit is contained in:
Chris Kuehl 2018-10-22 09:21:37 -07:00
parent b6926e8e2e
commit 231f6013bb

View file

@ -177,4 +177,6 @@ def test_xargs_concurrency():
assert ret == 0 assert ret == 0
pids = stdout.splitlines() pids = stdout.splitlines()
assert len(pids) == 5 assert len(pids) == 5
assert elapsed < 1 # It would take 0.5*5=2.5 seconds ot run all of these in serial, so if it
# takes less, they must have run concurrently.
assert elapsed < 2.5