Skip to content

Commit b26d798

Browse files
smeetsryadvr
authored andcommitted
CLOUDSTACK-10211: Fixed test_nuage_public_sharednetwork_userdata tests (#2385)
1 parent 7253969 commit b26d798

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

test/integration/plugins/nuagevsp/test_nuage_public_sharednetwork_userdata.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,8 @@ def test_01_verify_deployvm_fail_startip_sharednetwork_scope_all(self):
409409
except Exception as e:
410410
self.debug("Deploy vm fails as expected with exception %s" % e)
411411
self.debug("Going to verify the exception message")
412-
excetionmsg = "it is reserved for the VR in network"
413-
if excetionmsg in str(e):
412+
exceptionmsg = "it is reserved for the VR in network"
413+
if exceptionmsg in str(e):
414414
self.debug("correct exception is raised")
415415
else:
416416
self.fail("correct exception is not raised")
@@ -705,8 +705,8 @@ def test_06_verify_different_gateway_subnet_fails_sharednetwork_all(self):
705705
"fails as expected with exception %s" % e)
706706
self.debug("Going to verify the exception message")
707707
self.delete_subnet_verify(self.shared_network_all, subnet2)
708-
excetionmsg = "Failed to deploy VM"
709-
if excetionmsg in str(e):
708+
exceptionmsg = "Unable to start VM instance"
709+
if exceptionmsg in str(e):
710710
self.debug("correct exception is raised")
711711
else:
712712
self.fail("correct exception is not raised")
@@ -739,8 +739,8 @@ def test_07_different_gateway_subnet_fails_sharednetwork_domain(self):
739739
self.debug("Going to verify the exception message")
740740
self.delete_subnet_verify(
741741
self.shared_network_domain_with_subdomain_d11, subnet2)
742-
excetionmsg = "Failed to deploy VM"
743-
if excetionmsg in str(e):
742+
exceptionmsg = "Unable to start VM instance"
743+
if exceptionmsg in str(e):
744744
self.debug("correct exception is raised")
745745
else:
746746
self.fail("correct exception is not raised")
@@ -772,8 +772,8 @@ def test_08_different_gateway_subnet_fails_sharednetwork_nosubdomain(self):
772772
self.debug("Going to verify the exception message")
773773
self.delete_subnet_verify(
774774
self.shared_network_domain_d11, subnet2)
775-
excetionmsg = "Failed to deploy VM"
776-
if excetionmsg in str(e):
775+
exceptionmsg = "Unable to start VM instance"
776+
if exceptionmsg in str(e):
777777
self.debug("correct exception is raised")
778778
else:
779779
self.fail("correct exception is not raised")
@@ -805,8 +805,8 @@ def test_09_different_gateway_subnet_fails_sharednetwork_account(self):
805805
self.debug("Going to verify the exception message")
806806
self.delete_subnet_verify(
807807
self.shared_network_account_d111a, subnet2)
808-
excetionmsg = "Failed to deploy VM"
809-
if excetionmsg in str(e):
808+
exceptionmsg = "Unable to start VM instance"
809+
if exceptionmsg in str(e):
810810
self.debug("correct exception is raised")
811811
else:
812812
self.fail("correct exception is not raised")

0 commit comments

Comments
 (0)