Roslyn unit tests failing during xUnit AppDomain unload combined with vs-threading FailFast #49275
Labels
Area-Infrastructure
Flaky
Resolution-Fixed
The bug has been fixed and/or the requested behavior has been implemented
Test
Test failures in roslyn-CI
When Roslyn unit tests shut down, xUnit unloads the AppDomain that our tests are loaded into. This means that the test threads inside the AppDomain are unloaded, which is done by aborting the threads. This triggers this FailFast here:
https://github.com/microsoft/vs-threading/blob/a2c873656dd7a7967499595a4587cee7b71ff4b4/src/Microsoft.VisualStudio.Threading/JoinableTaskFactory.cs#L968-L974
which causes the entire test process to crash.
This is a tracking bug so I can link failures in other PRs to it as I find them.
The text was updated successfully, but these errors were encountered: