dotnet / dotnet/aspnetcore

Fix tests that use AppContextSwitch

Open
#67,491 0 comments 0 reactions 1 assignee Claimed by @maraf View on GitHub
area-blazor
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

Some tests are broken that use AppContextSwitch after config caching was introduced.

Temporarily mitigated by https://github.com/dotnet/aspnetcore/pull/67492 that overwrites the config values during runtime by reflection. The issue requires a proper fix with process separation per test batch and setting config per process.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.