Updated Branches: refs/heads/4.2 8a68cd7e5 -> 66b7b7e25
CLOUDSTACK-5364: Fail the test incase cleanup is not successful Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/66b7b7e2 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/66b7b7e2 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/66b7b7e2 Branch: refs/heads/4.2 Commit: 66b7b7e25c8cbc73b5c33ffc87303045913b491b Parents: 8a68cd7 Author: Girish Shilamkar <[email protected]> Authored: Mon Dec 9 19:16:30 2013 +0530 Committer: Girish Shilamkar <[email protected]> Committed: Mon Dec 9 19:20:53 2013 +0530 ---------------------------------------------------------------------- test/integration/component/test_egress_fw_rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/66b7b7e2/test/integration/component/test_egress_fw_rules.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_egress_fw_rules.py b/test/integration/component/test_egress_fw_rules.py index 5f076ab..a0a7b9c 100644 --- a/test/integration/component/test_egress_fw_rules.py +++ b/test/integration/component/test_egress_fw_rules.py @@ -394,7 +394,7 @@ class TestEgressFWRules(cloudstackTestCase): cleanup_resources(self.apiclient, reversed(self.cleanup)) self.debug("Cleanup complete!") except Exception as e: - self.debug("Warning! Exception in tearDown: %s" % e) + self.fail("Warning! Cleanup failed: %s" % e) @attr(tags = ["advanced"]) def test_01_egress_fr1(self):
