You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ta...@apache.org on 2014/12/22 09:25:32 UTC

[4/4] git commit: updated refs/heads/4.5 to 3736d94

CLOUDSTACK-7762 -[Automation] - Fix test failure for test_02_revert_vm_snapshots in smoke/test_vm_snapshots.py


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

Branch: refs/heads/4.5
Commit: 3736d9435ad7e26f889dbb3b90fa7ce457ea4967
Parents: 588e7dc8
Author: Sangeetha Hariharan <sa...@citrix.com>
Authored: Tue Oct 21 18:12:03 2014 -0700
Committer: SrikanteswaraRao Talluri <ta...@apache.org>
Committed: Mon Dec 22 13:55:07 2014 +0530

----------------------------------------------------------------------
 test/integration/smoke/test_vm_snapshots.py | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3736d943/test/integration/smoke/test_vm_snapshots.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_vm_snapshots.py b/test/integration/smoke/test_vm_snapshots.py
index 131da99..ef1353a 100644
--- a/test/integration/smoke/test_vm_snapshots.py
+++ b/test/integration/smoke/test_vm_snapshots.py
@@ -202,6 +202,9 @@ class TestVmSnapshot(cloudstackTestCase):
             "Check the snapshot of vm is ready!"
         )
 
+	# Stop Virtual machine befor reverting VM to a snapshot taken without memory  	
+	self.virtual_machine.stop(self.apiclient)
+
         VmSnapshot.revertToSnapshot(self.apiclient, list_snapshot_response[0].id)
 
         list_vm_response = list_virtual_machines(