summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-07-06 17:43:04 +0200
committerGitHub <noreply@github.com>2016-07-06 17:43:04 +0200
commitd96bf94fda6b83b6ff6b641b8b543257caf102fb (patch)
tree9d2593d72b4a8c3e55e8ef8bf5fc4a94fbaef12b
parent389f500226495c335881c846c39ff938f93e693a (diff)
parent32e3e01dac719a50291dd248abeb92d075005ab7 (diff)
downloadNim-d96bf94fda6b83b6ff6b641b8b543257caf102fb.tar.gz
Merge pull request #4458 from cheatfate/fixtest1
Resolve problems with tioselectors test on OSX.
-rw-r--r--tests/async/tioselectors.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/async/tioselectors.nim b/tests/async/tioselectors.nim
index 3f08ac59d..ed2fea84f 100644
--- a/tests/async/tioselectors.nim
+++ b/tests/async/tioselectors.nim
@@ -58,6 +58,7 @@ when not defined(windows):
     discard posix.connect(client_socket, aiList.ai_addr,
                           aiList.ai_addrlen.Socklen)
     dealloc(aiList)
+    discard selector.select(100)
     var rc1 = selector.select(100)
     assert(len(rc1) == 2)