Skip to content

Commit 10b975e

Browse files
committed
chore: fix flaky memory allocation test
1 parent ed5316b commit 10b975e

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
@@ -228,7 +228,7 @@ public byte[] SixtyFourBytesArray()
228228
// this benchmark should hit allocation quantum problem
229229
// it allocates a little of memory, but it takes a lot of time to execute so we can't run in thousands of times!
230230

231-
Thread.Sleep(TimeSpan.FromSeconds(0.5));
231+
//Thread.Sleep(TimeSpan.FromSeconds(0.5));
232232

233233
return new byte[64];
234234
}

0 commit comments

Comments
 (0)