[tests] Ensure that tests don't hang on closing process

This commit is contained in:
Mark Spanbroek 2022-05-18 10:14:57 +02:00 committed by markspanbroek
parent 83522e459c
commit dcf3d485c4
1 changed files with 1 additions and 1 deletions

View File

@ -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()