tp-libvirt icon indicating copy to clipboard operation
tp-libvirt copied to clipboard

virsh-snapshot: Update logic to verify snapshot creation

Open misanjumn opened this issue 3 months ago • 1 comments

virsh-snapshot: Update logic to verify snapshot creation

  • check_snaplist function is used to verify the created snapshot by checking it's presence in the guest xml.
  • But since there might be multiple disk name values, drivers, source files, snapshot types, etc, the verification is failing leading to false negative test result.
  • This patch will allow us to check the disk values by checking if it is present in the list of xml parameter values.

Additionally, this patch also fixes the Syntax Warning: Invalid Escape Sequence, line: 76

Signed-off-by: Misbah Anjum N [email protected]

misanjumn avatar Nov 26 '24 09:11 misanjumn