Fix release of resources created by Tempest
Tempest fails to release created resources by Manila using dynamically
created tenant. It is caused by changed order of deletion,
where Tempest started execute dynamic tenant deletion prior to
release of Manila resources within this tenant.
So, fix it by changing order of resource release in Manila base class.
Change-Id: I40c2324705eb11e10ca64cfe81a2a87ad6e90767
Closes-Bug: #1534656
diff --git a/manila_tempest_tests/tests/api/base.py b/manila_tempest_tests/tests/api/base.py
index b9763fb..e2ce55f 100644
--- a/manila_tempest_tests/tests/api/base.py
+++ b/manila_tempest_tests/tests/api/base.py
@@ -208,8 +208,8 @@
def setUp(self):
super(BaseSharesTest, self).setUp()
- self.addCleanup(self.clear_resources)
self.addCleanup(self.clear_isolated_creds)
+ self.addCleanup(self.clear_resources)
@classmethod
def resource_cleanup(cls):