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
TraceListenerManager can be created in parallel and in the constructor it's setting the static console TextWriter without any lock. So when for instance one test completes and restores the original TextWriter another concurrent Console.WriteLine will pickup wrong writer invalidating the "capture" semantic.
TraceListenerManager
can be created in parallel and in the constructor it's setting the static consoleTextWriter
without any lock. So when for instance one test completes and restores the originalTextWriter
another concurrentConsole.WriteLine
will pickup wrong writer invalidating the "capture" semantic.testfx/src/Adapter/MSTestAdapter.PlatformServices/Services/TraceListenerManager.cs
Lines 42 to 43 in 2614300
The text was updated successfully, but these errors were encountered: