Skip to content

Commit f510ef9

Browse files
author
Sangeetha Hariharan
committed
CLOUDSTACK-7762 -[Automation] - Fix test failure for test_02_revert_vm_snapshots in smoke/test_vm_snapshots.py
1 parent 45611a0 commit f510ef9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/integration/smoke/test_vm_snapshots.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ def test_02_revert_vm_snapshots(self):
202202
"Check the snapshot of vm is ready!"
203203
)
204204

205+
# Stop Virtual machine befor reverting VM to a snapshot taken without memory
206+
self.virtual_machine.stop(self.apiclient)
207+
205208
VmSnapshot.revertToSnapshot(self.apiclient, list_snapshot_response[0].id)
206209

207210
list_vm_response = list_virtual_machines(

0 commit comments

Comments
 (0)