diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-06-16 15:57:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-16 15:57:57 -0700 |
commit | ff93302f69c724bc03d7e0529fb0b9b6bfa0b36e (patch) | |
tree | 3e42a3be9667e48d4e93161e4f87f7019828d6dd /tests/async | |
parent | 7ded490ec06286bb016bcb525e8d816f952e7bfc (diff) | |
download | Nim-ff93302f69c724bc03d7e0529fb0b9b6bfa0b36e.tar.gz |
use check to investigate #14685 flaky tests/async/t7758.nim (#14689)
Diffstat (limited to 'tests/async')
-rw-r--r-- | tests/async/t7758.nim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/async/t7758.nim b/tests/async/t7758.nim index 15aec1c04..3cbe16852 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() |