CLOUDSTACK-5364: Fail the test incase cleanup is not successful

This commit is contained in:
Girish Shilamkar 2013-12-09 19:16:30 +05:30
parent eaa278d119
commit 71aa2c0881
1 changed files with 1 additions and 1 deletions

View File

@ -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):