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

[1/2] git commit: updated refs/heads/master to cd71e05

Repository: cloudstack
Updated Branches:
  refs/heads/master f61f23c7f -> cd71e05b1


CLOUDSTACK-9121: Adding VmSnapshot validation in testpath_revert_snap.py


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

Branch: refs/heads/master
Commit: 1cf44dee3a94dcac765aff9b2827e20cd05f971f
Parents: 3ded3e9
Author: Priti Sarap <pr...@clogeny.com>
Authored: Tue Dec 8 16:29:13 2015 +0530
Committer: Priti Sarap <pr...@clogeny.com>
Committed: Tue Dec 8 16:29:13 2015 +0530

----------------------------------------------------------------------
 test/integration/testpaths/testpath_revert_snap.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1cf44dee/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 8026f34..5934400 100644
--- a/test/integration/testpaths/testpath_revert_snap.py
+++ b/test/integration/testpaths/testpath_revert_snap.py
@@ -150,7 +150,12 @@ class TestUnableToRevertSnapshot(cloudstackTestCase):
         vm_snap = VmSnapshot.create(self.apiclient,
                 vm.id)
 
-        volume_list_validation = validateList(vm_snap)
+	self.assertEqual(
+			vm_snap.state,
+			"Ready",
+			"Check the snapshot of vm is ready!"
+			)
+
 
         #Step 3
         with self.assertRaises(Exception):


[2/2] git commit: updated refs/heads/master to cd71e05

Posted by sa...@apache.org.
Merge pull request #1190 from pritisarap12/CLOUDSTACK-9121-Adding-VmSnapshot-validation-in-testpath_revert_snap.py

CLOUDSTACK-9121: Adding VmSnapshot validation in testpath_revert_snap.pyIn testpath_revert_snap.py, there was no code to check if VM snapshot is created or not hence adding code for snapshot validation.

* pr/1190:
  CLOUDSTACK-9121: Adding VmSnapshot validation in testpath_revert_snap.py

Signed-off-by: sanjeev <sa...@apache.org>


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

Branch: refs/heads/master
Commit: cd71e05b1ef5fcae018f35dec30abbec1ea012f1
Parents: f61f23c 1cf44de
Author: sanjeev <sa...@apache.org>
Authored: Wed Feb 10 10:59:18 2016 +0530
Committer: sanjeev <sa...@apache.org>
Committed: Wed Feb 10 10:59:21 2016 +0530

----------------------------------------------------------------------
 test/integration/testpaths/testpath_revert_snap.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------