From 3736d9435ad7e26f889dbb3b90fa7ce457ea4967 Mon Sep 17 00:00:00 2001 From: Sangeetha Hariharan Date: Tue, 21 Oct 2014 18:12:03 -0700 Subject: [PATCH] CLOUDSTACK-7762 -[Automation] - Fix test failure for test_02_revert_vm_snapshots in smoke/test_vm_snapshots.py --- test/integration/smoke/test_vm_snapshots.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/integration/smoke/test_vm_snapshots.py b/test/integration/smoke/test_vm_snapshots.py index 131da998508..ef1353a6df9 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(