Cleanup ROLLBACK_COMPLETE stack after the test finishes
Change-Id: Ia457aa7025c464a9dec78e95757d85c977307560 Closes-Bug: #1727632
This commit is contained in:
parent
7e2710b95e
commit
c570e0f399
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue