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

Create virtualized test harness #28

Closed
albertofaria opened this issue Mar 1, 2024 · 1 comment
Closed

Create virtualized test harness #28

albertofaria opened this issue Mar 1, 2024 · 1 comment
Labels

Comments

@albertofaria
Copy link
Member

Tests currently consist simply of launching VMs using crun-vm and checking whether certain configurations work properly by inspecting the guest. This makes it difficult to test features like block device pass-through or PCI device assignment, which depend on the host environment and may require privileges.

We should run tests inside a VM instead, using crun-vm itself to launch that outer VM. Tests would then effectively launch nested VMs. This would allow us to have a well-defined test environment and would preclude the need for elevated privileges to run the tests.

@albertofaria
Copy link
Member Author

Accomplished in #44.

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

No branches or pull requests

1 participant