CLOUDSTACK-7891 - Fix failure in integration.component.test_escalations_instances.TestInstances/test_15_revert_vm_to_snapshot

This commit is contained in:
Sangeetha Hariharan 2014-11-12 16:51:52 -08:00
parent 8cf1102b0a
commit b12207cf25
1 changed files with 4 additions and 0 deletions

View File

@ -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,