mirror of https://github.com/apache/cloudstack.git
make sure dependencies get cleaned up after their depenedants
This commit is contained in:
parent
6db6660a0c
commit
6cde21048a
|
|
@ -88,7 +88,7 @@ class TestVMWareStoragePolicies(cloudstackTestCase):
|
|||
def tearDown(self):
|
||||
try:
|
||||
self.debug("Cleaning up the resources")
|
||||
cleanup_resources(self.apiclient, self.cleanup)
|
||||
cleanup_resources(self.apiclient, reversed(self.cleanup))
|
||||
self.debug("Cleanup complete!")
|
||||
except Exception as e:
|
||||
self.debug("Warning! Exception in tearDown: %s" % e)
|
||||
|
|
|
|||
Loading…
Reference in New Issue