Avoid running GetDisplayNameTests in parallel#2701
Conversation
There seems to be a race condition on Cecil while trying to get GenericParameters, if a multithreaded test asks simultaneously about GenericParameters on the same type Cecil answers could vary creating test failures. Fixes #2693
|
Do you know which Cecil piece is causing this? |
|
Given that the problematic code in linker is https://github.com/dotnet/linker/blob/main/src/linker/Linker/TypeReferenceExtensions.cs#L43-L58 |
There seems to be a race condition on Cecil while trying to get GenericParameters, if a multithreaded test asks simultaneously about GenericParameters on the same type Cecil answers could vary creating test failures. Fixes dotnet/linker#2693 Commit migrated from dotnet/linker@5d8277a
There seems to be a race condition on Cecil while trying to get GenericParameters, if a multithreaded test asks simultaneously about GenericParameters on the same type Cecil answers could vary creating test failures.
Fixes #2693