You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by wi...@apache.org on 2015/07/27 10:43:10 UTC
[22/50] [abbrv] git commit: updated refs/heads/reporter to 3e1816d
CLOUDSTACK-8636: Verify failure of creation of Custom disk offering with disksize parameter -Modified list validation of volume list
This closes #590
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/faaf6b1f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/faaf6b1f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/faaf6b1f
Branch: refs/heads/reporter
Commit: faaf6b1f9891ad073ed69345d69b727a463fbca7
Parents: 837486a
Author: Priti Sarap <pr...@clogeny.com>
Authored: Wed Jul 15 14:12:10 2015 +0530
Committer: sanjeev <sa...@apache.org>
Committed: Mon Jul 20 12:29:05 2015 +0530
----------------------------------------------------------------------
test/integration/testpaths/testpath_revert_snap.py | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/faaf6b1f/test/integration/testpaths/testpath_revert_snap.py
----------------------------------------------------------------------
diff --git a/test/integration/testpaths/testpath_revert_snap.py b/test/integration/testpaths/testpath_revert_snap.py
index 11db8c5..8026f34 100644
--- a/test/integration/testpaths/testpath_revert_snap.py
+++ b/test/integration/testpaths/testpath_revert_snap.py
@@ -31,6 +31,7 @@ from marvin.lib.common import (get_domain,
get_template,
list_volumes,
)
+from marvin.codes import PASS
class TestUnableToRevertSnapshot(cloudstackTestCase):
@@ -118,7 +119,6 @@ class TestUnableToRevertSnapshot(cloudstackTestCase):
"""
# Step 1
- # Create VM on cluster wide
vm = VirtualMachine.create(
self.userapiclient,
self.testdata["small"],
@@ -137,11 +137,13 @@ class TestUnableToRevertSnapshot(cloudstackTestCase):
volume_list_validation = validateList(volumes_cluster_list)
- self.assertNotEqual(
- len(volume_list_validation),
- 0,
- "Check if volume gets attached properly"
+ self.assertEqual(
+ volume_list_validation[0],
+ PASS,
+ "Event list validation failed due to %s" %
+ volume_list_validation[2]
)
+
root_volume = volumes_cluster_list[0]
#Step 2