CLOUDSTACK-5185: test_egress_fw_rules - failed the test case

if vm deployment failed instead of going on executing rest
This commit is contained in:
Ashutosh K 2013-11-16 14:57:59 +05:30 committed by Girish Shilamkar
parent 637fccc07d
commit 249f853484
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class TestEgressFWRules(cloudstackTestCase):
networkids=[str(self.network.id)],
projectid=project.id if project else None)
except Exception as e:
self.debug('error=%s' % e)
self.fail("Virtual machine deployment failed with exception: %s" % e)
self.debug("Deployed instance in account: %s" % self.account.name)
def exec_script_on_user_vm(self, script, exec_cmd_params, expected_result, negative_test=False):