From 71aa2c0881760b8df75b6b8110833fb850c04317 Mon Sep 17 00:00:00 2001 From: Girish Shilamkar Date: Mon, 9 Dec 2013 19:16:30 +0530 Subject: [PATCH] CLOUDSTACK-5364: Fail the test incase cleanup is not successful --- test/integration/component/test_egress_fw_rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/component/test_egress_fw_rules.py b/test/integration/component/test_egress_fw_rules.py index 5f076ab4c5d..a0a7b9cb16b 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):