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

Virtiofs: Add test case support >=509 memslots #4204

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

qcheng-redhat
Copy link
Contributor

Add test case support >=509 memslots

ID: 3024

@qcheng-redhat qcheng-redhat changed the title [Virtiofs]Add test case support >=509 memslots Virtiofs:Add test case support >=509 memslots Nov 15, 2024
@qcheng-redhat qcheng-redhat changed the title Virtiofs:Add test case support >=509 memslots Virtiofs: Add test case support >=509 memslots Nov 15, 2024
@qcheng-redhat
Copy link
Contributor Author

Hi @hellohellenmao, please help review this patch, when you have time. Thanks!

@XueqiangWei
Copy link
Contributor

Hi @fbq815 , @xiagao, could you please help review it? Many thanks.

@fbq815
Copy link
Contributor

fbq815 commented Dec 6, 2024

@XueqiangWei @qcheng-redhat I've seens no s390x here, not sure if this needs my review

utils_disk.umount(fs_target, fs_dest, "virtiofs", session=session)
utils_misc.safe_rmdir(fs_dest, session=session)
if os_type == "windows":
virtio_fs_utils.delete_viofs_serivce(test, params, session)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you stop virtiofs service first and then delete it in case bringing the unexpected error?
And suggest to add win_driver_utils.memory_leak_check(vm, test, params) function in the end.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for review. Updated.

fs_driver_props = {"queue-size": 1024}
fs_source_type = mount
fs_source_dir = /var/tmp/virtio_fs_test
force_create_fs_source = no
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the fs paths are created by user, how about setting fs_source_user_config = yes, then it could save time in env_process.py

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A test file is created before test execution. So don't need create fs source again here.

@qcheng-redhat
Copy link
Contributor Author

@XueqiangWei @qcheng-redhat I've seens no s390x here, not sure if this needs my review

@fbq815 Please refer to the polarion test case for more information about this patch. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants