summary refs log tree commit diff stats
path: root/tests/threads/ttryrecv.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/threads/ttryrecv.nim')
-rw-r--r--tests/threads/ttryrecv.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/threads/ttryrecv.nim b/tests/threads/ttryrecv.nim
index 87dec6e79..fcff94e78 100644
--- a/tests/threads/ttryrecv.nim
+++ b/tests/threads/ttryrecv.nim
@@ -1,4 +1,5 @@
 discard """
+  matrix: "--mm:refc"
   outputsub: "channel is empty"
 """
 
@@ -11,7 +12,7 @@ type PComm = ptr Channel[int]
 
 proc doAction(outC: PComm) {.thread.} =
   for i in 0 ..< 5:
-    sleep(rand(100))
+    sleep(rand(50))
     send(outC[], i)
 
 var