Closed qiulaidongfeng closed 1 week ago
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Change https://go.dev/cl/627877 mentions this issue: os/user: skip tests that create users when running on dev machines
The test failures are related to the test setup process rather than the tested code. I've sent CL 627877 with a fix for this issue. It basically skips the tests that creates users on dev machines (so they will only be run now in CI), as depending on the system configuration and permissions, recreating users can get much trickier.
Go version
go version devel go1.24-493edb2973 Sat Nov 16 15:10:05 2024 +0000 windows/amd64
Output of
go env
in your module/workspace:What did you do?
go tool dist test -run=user
What did you see happen?
What did you expect to see?
test pass