This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/master by this push:
new b26d798 CLOUDSTACK-10211: Fixed
test_nuage_public_sharednetwork_userdata tests (#2385)
b26d798 is described below
commit b26d798868f120567252753e27915a73ea9dac6b
Author: Raf Smeets <[email protected]>
AuthorDate: Fri Jan 5 07:26:13 2018 +0100
CLOUDSTACK-10211: Fixed test_nuage_public_sharednetwork_userdata tests
(#2385)
---
.../test_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 d33d076..554741b 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 @@ class TestNuageSharedNetworkUserdata(nuageTestCase):
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 @@ class TestNuageSharedNetworkUserdata(nuageTestCase):
"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 @@ class TestNuageSharedNetworkUserdata(nuageTestCase):
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 @@ class TestNuageSharedNetworkUserdata(nuageTestCase):
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 @@ class TestNuageSharedNetworkUserdata(nuageTestCase):
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")
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].