Reduce testr concurrnecy to 2.
Hard set testr concurrency to 2 so that fewer gerrit instances are started in parallel compared to the default testr concurrency setting. This will help avoid contention for memory and process resources when running the tests. Change-Id: Id3837500ce243af8d8ef762c6dcf50146876f406
This commit is contained in:
2
tox.ini
2
tox.ini
@@ -7,7 +7,7 @@ setenv =
|
|||||||
|
|
||||||
commands =
|
commands =
|
||||||
python -m git_review.tests.prepare
|
python -m git_review.tests.prepare
|
||||||
python setup.py testr --slowest --testr-args='{posargs}'
|
python setup.py testr --slowest --testr-args='--concurrency=2 {posargs}'
|
||||||
|
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
|
Reference in New Issue
Block a user