From df338db03b1b24015cac7d5e42c8471742e24b72 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 21 Oct 2021 14:25:30 -0700 Subject: Uncap concurrency in tests This is 2 changes: * Run dstat in unit test jobs so that we can get an idea of system performance/utilization. * Remove the stestr concurrency cap. With 8 cores, we have enough headroom to run the test dependencies (sql/zk) while the tests are running too. Use all the CPU that's available. Change-Id: I9f250865f7043fdbb1fa8a01f1bc9508490accc1 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 889017fb3..6c0e01db6 100644 --- a/tox.ini +++ b/tox.ini @@ -41,7 +41,7 @@ deps = docker = docker: zookeeper:3.4 commands = - bash -c 'stestr run --slowest --concurrency=`python -c "import multiprocessing; print(int(multiprocessing.cpu_count()/2))"` {posargs}' + bash -c 'stestr run --slowest {posargs}' [testenv:bindep] # Do not install any requirements. We want this to be fast and work even if -- cgit v1.2.1