Browse Source

Update MemoryDiagnosticsTests.cs

pull/2329/head
James Jackson-South 3 years ago
parent
commit
42eb11046e
  1. 2
      tests/ImageSharp.Tests/Memory/Allocators/MemoryDiagnosticsTests.cs

2
tests/ImageSharp.Tests/Memory/Allocators/MemoryDiagnosticsTests.cs

@ -94,7 +94,7 @@ public class MemoryDiagnosticsTests
if (subscribeLeakHandle)
{
// Make sure at least some of the leak callbacks have time to complete on the ThreadPool
Thread.Sleep(500);
Thread.Sleep(1000);
Assert.True(leakCounter > 3, $"leakCounter did not count enough leaks ({leakCounter} only)");
}

Loading…
Cancel
Save