Cleanup ROLLBACK_COMPLETE stack after the test finishes

Change-Id: Ia457aa7025c464a9dec78e95757d85c977307560
Closes-Bug: #1727632
This commit is contained in:
rabi 2017-10-26 13:07:13 +05:30
parent 7e2710b95e
commit c570e0f399
1 changed files with 1 additions and 1 deletions

View File

@ -594,7 +594,7 @@ class HeatIntegrationTest(testscenarios.WithScenarios,
environment_files=environment_files,
timeout_mins=timeout_mins
)
if expected_status not in ['ROLLBACK_COMPLETE'] and enable_cleanup:
if enable_cleanup:
self.addCleanup(self._stack_delete, name)
stack = self.client.stacks.get(name, resolve_outputs=False)