Skip to content

Add a helper utility to clear the environment variables for tests #115752

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

Merged
merged 4 commits into from
May 21, 2025

Conversation

AndyAyersMS
Copy link
Member

This preserves most ambient varibles other than LANG and anything prefixed with DOTNET_SYSTEM_GLOBALIZATION.

Mostly done via copilot.

Fixes #100505

… for tests

This preserves most ambient varibles other than LANG and anything prefixed with
DOTNET_SYSTEM_GLOBALIZATION.

Fixes dotnet#100505
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label May 20, 2025
@AndyAyersMS AndyAyersMS added area-Infrastructure-libraries and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels May 20, 2025
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-globalization
See info in area-owners.md if you want to be subscribed.

@tarekgh tarekgh added this to the 10.0.0 milestone May 20, 2025
@AndyAyersMS AndyAyersMS marked this pull request as ready for review May 20, 2025 18:06
@jkotas
Copy link
Member

jkotas commented May 21, 2025

/ba-g helix reports failures in unrelated tests, with no logs captured

@jkotas jkotas merged commit 4090180 into dotnet:main May 21, 2025
81 of 85 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can we avoid resetting all env vars for some remotely executed tests?
3 participants