From 41ec2bc8608dfd97460458e6f16e671b95c41e03 Mon Sep 17 00:00:00 2001 From: Tim Date: Mon, 29 Apr 2024 09:43:23 -0400 Subject: [PATCH] Disabled flaky test on non-windows. --- tests/BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs b/tests/BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs index cf573f9985..5ee50a80a2 100755 --- a/tests/BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs +++ b/tests/BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs @@ -233,7 +233,8 @@ 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. This test is flaky on Linux and MacOS", + EnvRequirement.DotNetCoreOnly, EnvRequirement.WindowsOnly), MemberData(nameof(GetToolchains))] [Trait(Constants.Category, Constants.BackwardCompatibilityCategory)] public void AllocationQuantumIsNotAnIssueForNetCore21Plus(IToolchain toolchain) {