-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.windowsissue/bug on Windowsissue/bug on Windows
Description
CI tests for Windows are run in an admin terminal, and we are not testing that commands work on a non-elevated terminal. As a result, the recently introduced support for starting/stopping hyperv machines in non-elevated terminals, and the new user-scope installer, can be broken by new commits.
We should add (and eventually replace) hyperv/wsl e2e tests and installation tests that run in a non-elevated terminal by a user who belongs to the Hyper-V Administrators group.
The tests should still run some elevated commands (hyperv machine init and rm still require that).
We should also add another user who isn't a member of the Hyper-V admins group to verify that commands run as that user fail as expected.
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.windowsissue/bug on Windowsissue/bug on Windows