dotnet / razor

Compiler and tooling experience for Razor ASP.NET Core apps in Visual Studio, Visual Studio for Mac, and VS Code.
https://asp.net
MIT License
493 stars 191 forks source link

Disable test parallelisation in language services #10885

Closed davidwengier closed 2 weeks ago

davidwengier commented 2 weeks ago

Fixes https://github.com/dotnet/razor/issues/10874

This project uses the ExportProviderFactory which has static state, and running tests in parallel is therefore racey. https://github.com/dotnet/razor/pull/10882 is removing that system, but that has to wait for a Roslyn insertion etc. so this is a short term workaround