Launch functional tests serially
Currently, functional tests are not isolated and each test has access to resources from parallel launched tests. This patch is a hack to isolate tests and give ability to create as many resources as tenant quotas allow. Change-Id: Idc0a60d350e408bdbd67a7a527698be9f4d6b27b
This commit is contained in:
1
tox.ini
1
tox.ini
@@ -35,6 +35,7 @@ commands =
|
|||||||
[testenv:functional]
|
[testenv:functional]
|
||||||
setenv =
|
setenv =
|
||||||
OS_TEST_PATH = ./novaclient/tests/functional
|
OS_TEST_PATH = ./novaclient/tests/functional
|
||||||
|
commands = python setup.py testr --testr-args='--concurrency=1 {posargs}'
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||||
|
Reference in New Issue
Block a user