diff --git a/tests/testhttp.nim b/tests/testhttp.nim index 3ea9dd8..ab912cb 100644 --- a/tests/testhttp.nim +++ b/tests/testhttp.nim @@ -177,4 +177,4 @@ suite "HTTP Server/HTTP Client RPC test suite": check waitFor(disconTest("localhost", Port(8545), 7, 200)) == true httpsrv.stop() -httpsrv.close() +waitFor httpsrv.closeWait()