Skip to content

Commit a0e2587

Browse files
committed
chore: increase warmup count for flaky test
1 parent 0767efe commit a0e2587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/BenchmarkDotNet.IntegrationTests/MemoryDiagnoserTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public void AllocationQuantumIsNotAnIssueForNetCore21Plus(IToolchain toolchain)
245245
long objectAllocationOverhead = IntPtr.Size * 2; // pointer to method table + object header word
246246
long arraySizeOverhead = IntPtr.Size; // array length
247247
int warmupCount = OsDetector.IsMacOS()
248-
? 5 // Workaround setting for macos. https://github.com/dotnet/BenchmarkDotNet/issues/2779
248+
? 10 // Workaround setting for macos. https://github.com/dotnet/BenchmarkDotNet/issues/2779
249249
: 0; // Other OS don't need warmup
250250

251251
AssertAllocations(toolchain, typeof(TimeConsuming), new Dictionary<string, long>

0 commit comments

Comments
 (0)