dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
18.91k stars 4.01k forks source link

Microsoft.CodeAnalysis.UnitTests.SolutionTests.TestGetRecoveredTextAsync is flaky #19427

Open shyamnamboodiripad opened 7 years ago

shyamnamboodiripad commented 7 years ago

This test failed in the following CI run - https://ci.dot.net/job/dotnet_roslyn/job/master/job/windows_debug_unit64_prtest/6120/ https://ci.dot.net/job/dotnet_roslyn/job/master/job/windows_debug_unit64_prtest/6120/testReport/junit/Microsoft.CodeAnalysis.UnitTests/SolutionTests/TestGetRecoveredTextAsync/

Failure was as follows -

MESSAGE:
Reference should have been released but was not.\r\nExpected: False\r\nActual: True
+++++++++++++++++++
STACK TRACE:
at Roslyn.Test.Utilities.ObjectReference`1.AssertReleased() at Microsoft.CodeAnalysis.UnitTests.SolutionTests.TestGetRecoveredTextAsync() in q:\roslyn\src\Workspaces\CoreTest\SolutionTests\SolutionTests.cs:line 699
Pilchie commented 7 years ago

Is this a dupe of something you already have?

CyrusNajmabadi commented 7 years ago

Still flakey: https://ci.dot.net/job/dotnet_roslyn/job/master/job/windows_debug_unit64_prtest/7678/testReport/junit/Microsoft.CodeAnalysis.UnitTests/SolutionTests/TestGetRecoveredTextAsync/