From 26de94a0e09e77bf008b9333a38264270a92742c Mon Sep 17 00:00:00 2001 From: Sam Wan Date: Tue, 26 Jul 2016 03:37:42 -0400 Subject: [PATCH] TrivialFix: Fix a wrong order bug in resource_cleanup() Super class resource_cleanup method should be called after class resource cleanup method(s). Change-Id: Ic56c49c6ca0066a97dcffc6b068dba7320728984 --- manila_tempest_tests/tests/api/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manila_tempest_tests/tests/api/base.py b/manila_tempest_tests/tests/api/base.py index 79c8673cc1..73fcf09e7c 100644 --- a/manila_tempest_tests/tests/api/base.py +++ b/manila_tempest_tests/tests/api/base.py @@ -261,9 +261,9 @@ class BaseSharesTest(test.BaseTestCase): @classmethod def resource_cleanup(cls): - super(BaseSharesTest, cls).resource_cleanup() cls.clear_resources(cls.class_resources) cls.clear_isolated_creds(cls.class_isolated_creds) + super(BaseSharesTest, cls).resource_cleanup() @classmethod @network_synchronized