Browse Source

Wait until stack deletion is completed at test cleanup

Some faults tests are not stable because stack deletion is not completed during
the cleanup of the previous tests
Sometimes the disruption of the next test is executed while the stack
deletion is in progress and due to this the stack remains in state
delete in progress forever

Change-Id: I07f1e21d89174cfeaca77a93bfa8772a757b1afb
changes/26/785826/2
Eduardo Olivares 1 month ago
parent
commit
99a7b0a219
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      tobiko/openstack/heat/_stack.py

+ 2
- 0
tobiko/openstack/heat/_stack.py View File

@ -217,6 +217,8 @@ class HeatStackFixture(tobiko.SharedFixture):
def cleanup_stack(self):
self.delete_stack()
if self.stack:
self.wait_for_delete_complete()
def delete_stack(self, stack_id=None):
"""Deletes stack."""


Loading…
Cancel
Save