You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ga...@apache.org on 2015/06/02 10:02:34 UTC

git commit: updated refs/heads/master to 8bf59b5

Repository: cloudstack
Updated Branches:
  refs/heads/master 108a74a6b -> 8bf59b539


CLOUDSTACK-8521: Improving logging in test case - test_egress_fw_rules.py

Signed-off-by: Gaurav Aradhye <ga...@clogeny.com>
This closes #345


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8bf59b53
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8bf59b53
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8bf59b53

Branch: refs/heads/master
Commit: 8bf59b53933f5c287caf5ad44cc5147caeb03d65
Parents: 108a74a
Author: Gaurav Aradhye <ga...@clogeny.com>
Authored: Tue Jun 2 12:39:11 2015 +0530
Committer: Gaurav Aradhye <ga...@clogeny.com>
Committed: Tue Jun 2 13:31:29 2015 +0530

----------------------------------------------------------------------
 test/integration/component/test_egress_fw_rules.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8bf59b53/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 4082981..f362421 100755
--- a/test/integration/component/test_egress_fw_rules.py
+++ b/test/integration/component/test_egress_fw_rules.py
@@ -217,8 +217,7 @@ class TestEgressFWRules(cloudstackTestCase):
         self.debug("Deploying instance in the account: %s" % self.account.name)
 
         project = None
-        try:
-            self.virtual_machine = VirtualMachine.create(self.apiclient,
+        self.virtual_machine = VirtualMachine.create(self.apiclient,
                                                          self.services["virtual_machine"],
                                                          accountid=self.account.name,
                                                          domainid=self.domain.id,
@@ -226,8 +225,6 @@ class TestEgressFWRules(cloudstackTestCase):
                                                          mode=self.zone.networktype if pfrule else 'basic',
                                                          networkids=[str(self.network.id)],
                                                          projectid=project.id if project else None)
-        except Exception as e:
-            self.fail("Virtual machine deployment failed with exception: %s" % e)
         self.debug("Deployed instance %s in account: %s" % (self.virtual_machine.id,self.account.name))
 
         # Checking if VM is running or not, in case it is deployed in error state, test case fails