-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
mdmFleet managementFleet managementtestingIssues around tests in the codebase and the QA processIssues around tests in the codebase and the QA process
Description
In #13061, we added the ability to use system policies (MDM) to deploy an authkey.
tailscale/tstest/integration/integration_test.go already contains a test (TestConfigFileAuthKey) for similar logic (deploying an authkey using a text file), but it is currently impossible to write an equivalent test because there is no way to mock values in the syspolicy package across the process boundary.
We need the ability to define mock syspolicies in integration_test.go to fully test this feature (and other policies moving forward).
cc @nickkhyl who is working on related things
nickkhyl
Metadata
Metadata
Assignees
Labels
mdmFleet managementFleet managementtestingIssues around tests in the codebase and the QA processIssues around tests in the codebase and the QA process