Skip to content

Commit 80dfd0f

Browse files
Ashutosh KGirish Shilamkar
authored andcommitted
CLOUDSTACK-5185: test_egress_fw_rules - failed the test case
if vm deployment failed instead of going on executing rest
1 parent d65c3a7 commit 80dfd0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/integration/component/test_egress_fw_rules.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def create_vm(self, pfrule=False, egress_policy=True, RR=False):
214214
networkids=[str(self.network.id)],
215215
projectid=project.id if project else None)
216216
except Exception as e:
217-
self.debug('error=%s' % e)
217+
self.fail("Virtual machine deployment failed with exception: %s" % e)
218218
self.debug("Deployed instance in account: %s" % self.account.name)
219219

220220
def exec_script_on_user_vm(self, script, exec_cmd_params, expected_result, negative_test=False):

0 commit comments

Comments
 (0)