Skip to content
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

Filesystem_device: updated test.cancel to test.error #5893

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libvirt/tests/src/virtual_device/filesystem_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,10 @@ def check_filesystem_hotplug_with_mem_setup():
huge_pages_num = 0

if hotplug_unplug and not utils_path.find_command("lsof", default=False):
test.cancel("Lsof command is required to run test, but not installed")
test.error("Lsof command is required to run test, but not installed")

if len(vm_names) != guest_num:
test.cancel("This test needs exactly %d vms." % guest_num)
test.error("This test needs exactly %d vms." % guest_num)

if not libvirt_version.version_compare(7, 0, 0) and not with_numa:
test.cancel("Not supported without NUMA before 7.0.0")
Expand Down
Loading