mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-11 18:03:09 +00:00
run tests async from start so that stop can cancel all tracked futures
This commit is contained in:
parent
fb2e3436f6
commit
bc5fdd49be
@ -641,7 +641,10 @@ proc start*(
|
||||
manager.trackedFutures.track fut
|
||||
asyncSpawn fut
|
||||
|
||||
await manager.runTests()
|
||||
let futRunTests = manager.runTests()
|
||||
manager.trackedFutures.track futRunTests
|
||||
|
||||
await futRunTests
|
||||
|
||||
manager.printResult()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user