From 0e1f050440ea9b61274ade5ad2f46a10edcfd686 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sun, 15 Jan 2017 00:18:00 +0100 Subject: [PATCH] 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). --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c0de8a527..8a73c41cc 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ deps = -rrequirements.d/development.txt -rrequirements.d/attic.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: passenv = *