-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update VM CPU pinning tests for
limits.cpu.pin_strategy
(#300)
This PR includes updates to `tests/cpu-vm`. Changes: - Check if feature is present by checking API extension `limits_cpu_pin_strategy` (landing with canonical/lxd#14171); - Launch ephemeral VM with `limits.cpu.pin_strategy=auto` to check for CPU pinning, and `limits.cpu.pin_strategy=none` to ensure CPU's are not automatically pinned; and - Add check to ensure `limits.cpu.pin_strategy` can't be set while VM is running.
- Loading branch information
Showing
1 changed file
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters