From ff93302f69c724bc03d7e0529fb0b9b6bfa0b36e Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Tue, 16 Jun 2020 15:57:57 -0700 Subject: [PATCH] use check to investigate #14685 flaky tests/async/t7758.nim (#14689) --- tests/async/t7758.nim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/async/t7758.nim b/tests/async/t7758.nim index 15aec1c042..3cbe16852a 100644 --- a/tests/async/t7758.nim +++ b/tests/async/t7758.nim @@ -1,4 +1,5 @@ import asyncdispatch +import std/unittest proc task() {.async.} = await sleepAsync(40) @@ -10,6 +11,6 @@ proc main() = inc(counter) poll(10) - doAssert counter <= 4 + check counter <= 4 -for i in 0 .. 4: main() +for i in 0 .. 10: main()