Repository: cloudstack Updated Branches: refs/heads/master 45611a0f8 -> f510ef995
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/f510ef99 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f510ef99 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f510ef99 Branch: refs/heads/master Commit: f510ef995baaa9addefc22ff0330cd51dee1dd95 Parents: 45611a0 Author: Sangeetha Hariharan <[email protected]> Authored: Tue Oct 21 18:12:03 2014 -0700 Committer: Sangeetha Hariharan <[email protected]> Committed: Tue Oct 21 18:35:53 2014 -0700 ---------------------------------------------------------------------- test/integration/smoke/test_vm_snapshots.py | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f510ef99/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(
