Skip to content

Commit 2787c88

Browse files
committed
disable AwaitingTasksShouldNotInterfereAllocationResults for InProcess toolchain as it's flaky, contributes to #1925
1 parent d66289a commit 2787c88

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs

+5
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,11 @@ public class NonAllocatingAsynchronousBenchmarks
147147
[Trait(Constants.Category, Constants.BackwardCompatibilityCategory)]
148148
public void AwaitingTasksShouldNotInterfereAllocationResults(IToolchain toolchain)
149149
{
150+
if (toolchain.IsInProcess)
151+
{
152+
return; // it's flaky: https://github.com/dotnet/BenchmarkDotNet/issues/1925
153+
}
154+
150155
AssertAllocations(toolchain, typeof(NonAllocatingAsynchronousBenchmarks), new Dictionary<string, long>
151156
{
152157
{ nameof(NonAllocatingAsynchronousBenchmarks.CompletedTask), 0 },

0 commit comments

Comments
 (0)