You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Profiling tests never actually opt out of parallel execution #5524
A class joins a collection with [Collection(name)], which is absent here, so DisableParallelization never takes effect. The file's own comment describes an intent that isn't
implemented.
Why
test/xunit.runner.json and test/xunit.runner.windows.json both set parallelizeTestCollections: false and maxParallelThreads: 1, and test/Directory.Build.targets copies one of them into every test project's output — so collections in this assembly have never run in parallel, on any OS. So this never caused flaky profiling tests.
However the guard would otherwise remain absent if the // TODO: Re-enable parallelization in the runner json is ever acted
on.
I have reproduced the collection configuration issue and am preparing a focused fix: define a dedicated non-parallel profiling collection and make both profiler-related test classes join it. The complete net10.0 profiling test project passes locally (27 passed, 3 intentionally skipped).
Activity
linear-code commentedon Aug 31, 2026
NET-797
Make the call stack budget per-factory rather than a static
elkampu commentedon Sep 4, 2026
I have reproduced the collection configuration issue and am preparing a focused fix: define a dedicated non-parallel profiling collection and make both profiler-related test classes join it. The complete net10.0 profiling test project passes locally (27 passed, 3 intentionally skipped).