From dcf3d485c4ccf51fce60998a032e185f0ca6f1ff Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Wed, 18 May 2022 10:14:57 +0200 Subject: [PATCH] [tests] Ensure that tests don't hang on closing process --- tests/integration/nodes.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/nodes.nim b/tests/integration/nodes.nim index 7ef2da05..57c66f96 100644 --- a/tests/integration/nodes.nim +++ b/tests/integration/nodes.nim @@ -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()