Skip to content

Commit

Permalink
Merge pull request #6123 from rh-jugraham/remove_snapshot
Browse files Browse the repository at this point in the history
virt_xml_validate: remove vm snapshot after use
  • Loading branch information
chloerh authored Jan 16, 2025
2 parents 4584cd1 + 728f871 commit 7af8c65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libvirt/tests/src/virt_cmd/virt_xml_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def check_info(s1, s2, errorstr="Values differ"):

cmd_result = virsh.snapshot_dumpxml(vm_name, snapshot_name, to_file=file)
libvirt.check_exit_status(cmd_result)
cmd_result = virsh.snapshot_delete(vm_name, snapshot_name, to_file=file)
libvirt.check_exit_status(cmd_result)


def network_validate(test, net_name, file=None, **virsh_dargs):
Expand Down

0 comments on commit 7af8c65

Please sign in to comment.