Skip to content

Commit ce39b58

Browse files
authored
chore: increase warmup count for flaky test (#2903)
1 parent da5255e commit ce39b58

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)