Updated Branches:
  refs/heads/master eaa278d11 -> 71aa2c088

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/71aa2c08
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/71aa2c08
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/71aa2c08

Branch: refs/heads/master
Commit: 71aa2c0881760b8df75b6b8110833fb850c04317
Parents: eaa278d
Author: Girish Shilamkar <[email protected]>
Authored: Mon Dec 9 19:16:30 2013 +0530
Committer: Girish Shilamkar <[email protected]>
Committed: Mon Dec 9 19:16:30 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/71aa2c08/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):

Reply via email to