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]
|
[testenv:functional]
|
||||||
# This tox env is purely to make local test development easier
|
# This tox env is purely to make local test development easier
|
||||||
# Note: This requires local running instances of Barbican and Keystone
|
# Note: This requires local running instances of Barbican and Keystone
|
||||||
|
# TODO(dmend): remove --serial and uncomment coverage commands
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
setenv =
|
setenv =
|
||||||
OS_TEST_PATH={toxinidir}/functionaltests
|
OS_TEST_PATH={toxinidir}/functionaltests
|
||||||
commands =
|
commands =
|
||||||
/usr/bin/find . -type f -name "*.py[c|o]" -delete
|
/usr/bin/find . -type f -name "*.py[c|o]" -delete
|
||||||
stestr run --slowest {posargs}
|
stestr run --serial --slowest {posargs}
|
||||||
coverage combine
|
# coverage combine
|
||||||
coverage html -d cover
|
# coverage html -d cover
|
||||||
coverage xml -o cover/coverage.xml
|
# coverage xml -o cover/coverage.xml
|
||||||
passenv = KMIP_PLUGIN_ENABLED
|
passenv = KMIP_PLUGIN_ENABLED
|
||||||
VAULT_PLUGIN_ENABLED
|
VAULT_PLUGIN_ENABLED
|
||||||
PKCS11_PLUGIN_ENABLED
|
PKCS11_PLUGIN_ENABLED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user