-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[snapshots] Fix QEMU backend refusing available snapshot names #3158
Conversation
When looking for existing snapshot names, look for whitespace-terminated names only, to avoid matching on prefixes.
Avoid intermediate strings when looking for existing snapshot names.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, there seems to be a few tests that are failing now
[ FAILED ] 3 tests, listed below:
[ FAILED ] QemuBackend.verify_qemu_arguments_when_resuming_suspend_image
[ FAILED ] QemuBackend.verify_qemu_arguments_when_resuming_suspend_image_uses_metadata
[ FAILED ] QemuBackend.verify_qemu_arguments_from_metadata_are_used
Yeah, I noticed that too. I will look into it tomorrow. |
Fix failing tests by adapting to the QEMU backend now expecting the snapshot tag column to end in whitespace.
Codecov Report
@@ Coverage Diff @@
## snapshots #3158 +/- ##
=============================================
- Coverage 85.07% 84.88% -0.20%
=============================================
Files 246 246
Lines 12978 13016 +38
=============================================
+ Hits 11041 11048 +7
- Misses 1937 1968 +31
|
It should be good now @sharder996. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now, thanks!
[snapshots] Fix QEMU backend refusing available snapshot names
[snapshots] Fix QEMU backend refusing available snapshot names
[snapshots] Fix QEMU backend refusing available snapshot names
Fix QEMU backend refusing available snapshot names that are also prefixes in existing snapshot names.