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:
Sirushti Murugesan 2015-04-14 00:35:21 +05:30
parent b86f3d573a
commit 41349f0456
2 changed files with 1 additions and 2 deletions

View File

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

View File

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