Run heat_integrationtests in parallel
This should improve the turnaround time of the gate tests and also make room for more integration tests. Also, remove duplicate addCleanup. Change-Id: Iacdd554ee13bb87b0b71ebf547209f94e945f342
This commit is contained in:
parent
b86f3d573a
commit
41349f0456
@ -363,7 +363,6 @@ class HeatIntegrationTest(testscenarios.WithScenarios,
|
||||
kwargs = {'stack_identifier': stack_identifier,
|
||||
'status': expected_status}
|
||||
if expected_status in ['ROLLBACK_COMPLETE']:
|
||||
self.addCleanup(self.client.stacks.delete, stack_name)
|
||||
# To trigger rollback you would intentionally fail the stack
|
||||
# Hence check for rollback failures
|
||||
kwargs['failure_pattern'] = '^ROLLBACK_FAILED$'
|
||||
|
2
tox.ini
2
tox.ini
@ -31,7 +31,7 @@ setenv = VIRTUAL_ENV={envdir}
|
||||
usedevelop = False
|
||||
deps = -r{toxinidir}/heat_integrationtests/requirements.txt
|
||||
commands =
|
||||
bash tools/pretty_tox.sh '--concurrency=1 ^heat_integrationtests.*{posargs}'
|
||||
bash tools/pretty_tox.sh '^heat_integrationtests.*{posargs}'
|
||||
|
||||
[testenv:pep8]
|
||||
commands =
|
||||
|
Loading…
x
Reference in New Issue
Block a user