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
This commit is contained in:
Douglas Mendizábal 2019-02-04 13:24:42 -06:00
parent f725e6d97b
commit 34faa76587
1 changed files with 5 additions and 4 deletions

View File

@ -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