From f5d9890c8d061d202bf102e4a4e78cc4f1b1ee82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awek=20Kap=C5=82o=C5=84ski?= Date: Fri, 23 Feb 2018 10:58:13 +0100 Subject: [PATCH] [Fullstack] Limit number of test workers to 4 By default there is as many test workers running fullstack tests as cores on host. On gate tests it is 8 cores so 8 test workers. Each such workers spawns own neutron-server and agents. That cause quite big load on such test node. From my tests it looks that it can be up to 25. By lowering number of test workers to 4 I observed that load is at max about 10. Overall time of tests is longer for about 10-15 minutes (about 45-50 minutes with 8 workers and about 60-65 minutes with 4 workers). Change-Id: I58cb2ade598e8dc2377e6187483cb39881a9dc3c --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 911b19cdb4a..53c8cc86292 100644 --- a/tox.ini +++ b/tox.ini @@ -79,7 +79,7 @@ deps = commands = {toxinidir}/tools/generate_dhclient_script_for_fullstack.sh {envdir} {toxinidir}/tools/deploy_rootwrap.sh {toxinidir} {envdir}/etc {envdir}/bin - {[testenv]commands} + {toxinidir}/tools/ostestr_compat_shim.sh --concurrency 4 {posargs} [testenv:dsvm-fullstack-python35] basepython = python3.5