We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f9e9c5 commit fe2a452Copy full SHA for fe2a452
test/NumSharp.UnitTest/Backends/Unmanaged/StackedMemoryPoolTests.cs
@@ -1,6 +1,7 @@
1
using System;
2
using System.Collections;
3
using System.Collections.Generic;
4
+using System.Diagnostics;
5
using System.Text;
6
using System.Threading;
7
using FluentAssertions;
@@ -15,6 +16,7 @@ public class StackedMemoryPoolTests
15
16
[TestMethod]
17
public void Case1()
18
{
19
+#if DEBUG
20
var l = new Stack<IntPtr>();
21
var stack = new StackedMemoryPool(12, 100);
22
stack.GarbageCollectionDelay = 1000;
@@ -36,7 +38,7 @@ public void Case1()
36
38
37
39
stack.Return(l.Pop());
40
manual.Wait(5000).Should().BeTrue();
41
+#endif
42
}
43
44
-
0 commit comments