Skip to content

Commit 231f601

Browse files
committed
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.
1 parent b6926e8 commit 231f601

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/xargs_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,6 @@ def test_xargs_concurrency():
177177
assert ret == 0
178178
pids = stdout.splitlines()
179179
assert len(pids) == 5
180-
assert elapsed < 1
180+
# It would take 0.5*5=2.5 seconds ot run all of these in serial, so if it
181+
# takes less, they must have run concurrently.
182+
assert elapsed < 2.5

0 commit comments

Comments
 (0)