1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 08:16:54 +00:00

pytest -n 4 as default (4 parallel workers)

auto does not produce enough load, e.g. on freebsd64 vagrant VM,
cpu is 80-90% idle (1 core == 1 parallel tox worker).
This commit is contained in:
Thomas Waldmann 2017-01-15 00:18:00 +01:00
parent c716df4ce6
commit 0e1f050440

View file

@ -12,7 +12,7 @@ deps =
-rrequirements.d/development.txt -rrequirements.d/development.txt
-rrequirements.d/attic.txt -rrequirements.d/attic.txt
-rrequirements.d/fuse.txt -rrequirements.d/fuse.txt
commands = py.test -n {env:XDISTN:auto} -rs --cov=borg --cov-config=../.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite} commands = py.test -n {env:XDISTN:4} -rs --cov=borg --cov-config=../.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
# fakeroot -u needs some env vars: # fakeroot -u needs some env vars:
passenv = * passenv = *