summary refs log tree commit diff stats
path: root/tests/async/tasync_misc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/async/tasync_misc.nim')
-rw-r--r--tests/async/tasync_misc.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/async/tasync_misc.nim b/tests/async/tasync_misc.nim
index 1febdedb3..298fa64a9 100644
--- a/tests/async/tasync_misc.nim
+++ b/tests/async/tasync_misc.nim
@@ -9,11 +9,11 @@ block: #6100
   done.complete(1)
 
   proc asyncSum: Future[int] {.async.} =
-    for _ in 1..10_000_000:
+    for _ in 1..1_000_000:
       result += await done
 
   let res = waitFor asyncSum()
-  doAssert(res == 10000000)
+  doAssert(res == 1_000_000)
 
 block: #7985
   proc getData(): Future[JsonNode] {.async.} =