[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…
Reference in New Issue