From 48c5591244c5a8d8aed15bffd0039e17f9e46c68 Mon Sep 17 00:00:00 2001 From: Tim Date: Mon, 29 Apr 2024 09:59:54 -0400 Subject: [PATCH] Disabled flaky test. --- .../BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs b/tests/BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs index cf573f9985..0e4a664e06 100755 --- a/tests/BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs +++ b/tests/BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs @@ -233,7 +233,9 @@ public byte[] SixtyFourBytesArray() } } - [TheoryEnvSpecific("Full Framework cannot measure precisely enough for low invocation counts.", EnvRequirement.DotNetCoreOnly), MemberData(nameof(GetToolchains))] + [TheoryEnvSpecific("Full Framework cannot measure precisely enough for low invocation counts.", EnvRequirement.DotNetCoreOnly), MemberData(nameof(GetToolchains), + Skip = "Some random background allocations are occurring that we haven't been able to figure out, causing this test in particular to be flaky." + + " Other tests likely also suffer from it, but their high invocation counts successfully drown it out. #2562")] [Trait(Constants.Category, Constants.BackwardCompatibilityCategory)] public void AllocationQuantumIsNotAnIssueForNetCore21Plus(IToolchain toolchain) {