mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-02-20 05:23:09 +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