summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@redhat.com>2019-04-25 14:55:56 -0700
committerJames E. Blair <jeblair@redhat.com>2019-04-25 14:55:56 -0700
commitc9f4a862cefa22bf4320cfa603ed0ad6c52a0d4d (patch)
tree4ce604a1b3e50285f270a960d08f18d95dc1165f /tox.ini
parentb0252eef9de68035e0e4614dacde7e6660a9083a (diff)
downloadzuul-c9f4a862cefa22bf4320cfa603ed0ad6c52a0d4d.tar.gz
Halve stestr concurrency
To see if reducing the concurrency of tests makes them more reliable, set them to half the number of cpus (by default, stestr uses the number of cpus). Change-Id: I7977c853b759cf980a6717a70876857ef7e9f77e
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 626202301..9e2b5b2d3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -29,7 +29,7 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
- stestr run {posargs}
+ bash -c 'stestr run --concurrency=`python -c "import multiprocessing; print(int(multiprocessing.cpu_count()/2))"`'
stestr slowest
[testenv:bindep]