Updated Branches: refs/heads/master 465adf984 -> 21d898248
CLOUDSTACK-4252: Correct the cleanup order of resources Apply a LIFO cleanup when deleting cloud resources Signed-off-by: Prasanna Santhanam <[email protected]> (cherry picked from commit 9e7983ac18b7c6db5463ca10c75ec12b1fbfbd59) Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/21d89824 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/21d89824 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/21d89824 Branch: refs/heads/master Commit: 21d8982484ce2430575065131ba08cd6e14fe9d6 Parents: 465adf9 Author: Prasanna Santhanam <[email protected]> Authored: Wed Aug 14 16:31:55 2013 +0530 Committer: Prasanna Santhanam <[email protected]> Committed: Wed Aug 14 16:32:30 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/21d89824/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
