From 34faa765874ee6d1cdfa3c8d73aaf2ce410d1d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Douglas=20Mendiz=C3=A1bal?= Date: Mon, 4 Feb 2019 13:24:42 -0600 Subject: [PATCH] Run functional tests serially The tests are not written to be run in parallel. All Quota tests fail itermittenly when run in parallel. Change-Id: If1b19ffe56d553c500a454731195db455941ed9f --- tox.ini | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 5f06635d8..ec1d9b53f 100644 --- a/tox.ini +++ b/tox.ini @@ -117,15 +117,16 @@ whitelist_externals = rm [testenv:functional] # This tox env is purely to make local test development easier # Note: This requires local running instances of Barbican and Keystone +# TODO(dmend): remove --serial and uncomment coverage commands deps = -r{toxinidir}/test-requirements.txt setenv = OS_TEST_PATH={toxinidir}/functionaltests commands = /usr/bin/find . -type f -name "*.py[c|o]" -delete - stestr run --slowest {posargs} - coverage combine - coverage html -d cover - coverage xml -o cover/coverage.xml + stestr run --serial --slowest {posargs} + # coverage combine + # coverage html -d cover + # coverage xml -o cover/coverage.xml passenv = KMIP_PLUGIN_ENABLED VAULT_PLUGIN_ENABLED PKCS11_PLUGIN_ENABLED