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:
parent
f725e6d97b
commit
34faa76587
9
tox.ini
9
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
|
||||
|
Loading…
Reference in New Issue
Block a user