From b12207cf253d8a86e57118575eede98efee9e569 Mon Sep 17 00:00:00 2001 From: Sangeetha Hariharan Date: Wed, 12 Nov 2014 16:51:52 -0800 Subject: [PATCH] CLOUDSTACK-7891 - Fix failure in integration.component.test_escalations_instances.TestInstances/test_15_revert_vm_to_snapshot --- test/integration/component/test_escalations_instances.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/integration/component/test_escalations_instances.py b/test/integration/component/test_escalations_instances.py index 7e4cfe632cd..fd25bb9d7c2 100644 --- a/test/integration/component/test_escalations_instances.py +++ b/test/integration/component/test_escalations_instances.py @@ -2588,6 +2588,10 @@ class TestInstances(cloudstackTestCase): current_snapshot.id, "Latest snapshot taken is not marked as current" ) + + # Stop Virtual machine befor reverting VM to a snapshot taken without memory + vm_created.stop(self.userapiclient) + # Reverting the VM to Snapshot 1 VmSnapshot.revertToSnapshot( self.userapiclient,