From 9f752ccaab83d2930df818d201c48d9d8f320f0d Mon Sep 17 00:00:00 2001 From: rsmeets Date: Thu, 4 Jan 2018 10:37:11 +0100 Subject: [PATCH] CLOUDSTACK-10211 Fixed test_nuage_public_sharednetwork_userdata tests --- ...est_nuage_public_sharednetwork_userdata.py | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/integration/plugins/nuagevsp/test_nuage_public_sharednetwork_userdata.py b/test/integration/plugins/nuagevsp/test_nuage_public_sharednetwork_userdata.py index d33d076aab0e..554741b1a98c 100644 --- a/test/integration/plugins/nuagevsp/test_nuage_public_sharednetwork_userdata.py +++ b/test/integration/plugins/nuagevsp/test_nuage_public_sharednetwork_userdata.py @@ -409,8 +409,8 @@ def test_01_verify_deployvm_fail_startip_sharednetwork_scope_all(self): except Exception as e: self.debug("Deploy vm fails as expected with exception %s" % e) self.debug("Going to verify the exception message") - excetionmsg = "it is reserved for the VR in network" - if excetionmsg in str(e): + exceptionmsg = "it is reserved for the VR in network" + if exceptionmsg in str(e): self.debug("correct exception is raised") else: self.fail("correct exception is not raised") @@ -705,8 +705,8 @@ def test_06_verify_different_gateway_subnet_fails_sharednetwork_all(self): "fails as expected with exception %s" % e) self.debug("Going to verify the exception message") self.delete_subnet_verify(self.shared_network_all, subnet2) - excetionmsg = "Failed to deploy VM" - if excetionmsg in str(e): + exceptionmsg = "Unable to start VM instance" + if exceptionmsg in str(e): self.debug("correct exception is raised") else: self.fail("correct exception is not raised") @@ -739,8 +739,8 @@ def test_07_different_gateway_subnet_fails_sharednetwork_domain(self): self.debug("Going to verify the exception message") self.delete_subnet_verify( self.shared_network_domain_with_subdomain_d11, subnet2) - excetionmsg = "Failed to deploy VM" - if excetionmsg in str(e): + exceptionmsg = "Unable to start VM instance" + if exceptionmsg in str(e): self.debug("correct exception is raised") else: self.fail("correct exception is not raised") @@ -772,8 +772,8 @@ def test_08_different_gateway_subnet_fails_sharednetwork_nosubdomain(self): self.debug("Going to verify the exception message") self.delete_subnet_verify( self.shared_network_domain_d11, subnet2) - excetionmsg = "Failed to deploy VM" - if excetionmsg in str(e): + exceptionmsg = "Unable to start VM instance" + if exceptionmsg in str(e): self.debug("correct exception is raised") else: self.fail("correct exception is not raised") @@ -805,8 +805,8 @@ def test_09_different_gateway_subnet_fails_sharednetwork_account(self): self.debug("Going to verify the exception message") self.delete_subnet_verify( self.shared_network_account_d111a, subnet2) - excetionmsg = "Failed to deploy VM" - if excetionmsg in str(e): + exceptionmsg = "Unable to start VM instance" + if exceptionmsg in str(e): self.debug("correct exception is raised") else: self.fail("correct exception is not raised")