Updated Branches: refs/heads/4.2 e3eee3bd4 -> 9e7983ac1
CLOUDSTACK-4252: Correct the cleanup order of resources Apply a LIFO cleanup when deleting cloud resources Signed-off-by: Prasanna Santhanam <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9e7983ac Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9e7983ac Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9e7983ac Branch: refs/heads/4.2 Commit: 9e7983ac18b7c6db5463ca10c75ec12b1fbfbd59 Parents: e3eee3b Author: Prasanna Santhanam <[email protected]> Authored: Wed Aug 14 16:31:55 2013 +0530 Committer: Prasanna Santhanam <[email protected]> Committed: Wed Aug 14 16:31:55 2013 +0530 ---------------------------------------------------------------------- test/integration/component/test_project_resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9e7983ac/test/integration/component/test_project_resources.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_project_resources.py b/test/integration/component/test_project_resources.py index 924c916..131a9e2 100644 --- a/test/integration/component/test_project_resources.py +++ b/test/integration/component/test_project_resources.py @@ -202,7 +202,7 @@ class TestOfferings(cloudstackTestCase): def tearDown(self): try: #Clean up, terminate the created accounts, domains etc - cleanup_resources(self.apiclient, self.cleanup) + cleanup_resources(self.apiclient, reversed(self.cleanup)) except Exception as e: raise Exception("Warning: Exception during cleanup : %s" % e) return
