mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-12 14:04:33 +00:00
[tests] Ensure that tests don't hang on closing process
This commit is contained in:
parent
83522e459c
commit
dcf3d485c4
@ -18,5 +18,5 @@ proc startNode*(args: openArray[string], debug = false): Process =
|
||||
|
||||
proc stop*(node: Process) =
|
||||
node.terminate()
|
||||
discard node.waitForExit()
|
||||
discard node.waitForExit(timeout=5_000)
|
||||
node.close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user