Skip to content

Commit

Permalink
Instrument ReferenceCachingCS for flakiness (dotnet#60585)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcouv authored Apr 7, 2022
1 parent 442b2c0 commit 2874547
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using Microsoft.CodeAnalysis.CommandLine;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Roslyn.Utilities;
using Xunit;
using Xunit.Abstractions;

Expand Down Expand Up @@ -949,7 +950,8 @@ public static void Main()
{ Console.WriteLine(""Hello3 from {0}"", Library.GetString2()); }
}"}};
result = RunCommandLineCompiler(CSharpCompilerClientExecutable, $"hello3.cs /shared:{serverData.PipeName} /nologo /r:lib.dll /out:hello3.exe", rootDirectory, files);
Assert.Equal("", result.Output);
// Instrumenting to assist investigation of flakiness. Tracked by https://github.com/dotnet/roslyn/issues/19763
RoslynDebug.AssertOrFailFast("" == result.Output);
Assert.Equal(0, result.ExitCode);

// Run hello3.exe. Should work.
Expand Down

0 comments on commit 2874547

Please sign in to comment.