From 7a27a78122fa6c58c8f2668421f92f3cce0e8e3f Mon Sep 17 00:00:00 2001 From: coffeepots Date: Thu, 13 Sep 2018 19:20:16 +0100 Subject: [PATCH] Update testEthCalls and testRpcMacro with closeWait --- tests/testethcalls.nim | 2 +- tests/testrpcmacro.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testethcalls.nim b/tests/testethcalls.nim index fc112ff..93f293a 100644 --- a/tests/testethcalls.nim +++ b/tests/testethcalls.nim @@ -74,4 +74,4 @@ suite "Generated from signatures": check sigResults[1] == "0x47173285A8D7341E5E972FC677286384F802F8EF42A5EC5F03BBFA254CB01FAD" server.stop() -server.close() +waitFor server.closeWait() diff --git a/tests/testrpcmacro.nim b/tests/testrpcmacro.nim index dd8687c..b052bd0 100644 --- a/tests/testrpcmacro.nim +++ b/tests/testrpcmacro.nim @@ -157,4 +157,4 @@ suite "Server types": check r == %"hello world" s.stop() -s.close() +waitFor s.closeWait()