Merge pull request #4458 from cheatfate/fixtest1
Resolve problems with tioselectors test on OSX.
This commit is contained in:
commit
d96bf94fda
1 changed files with 1 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ when not defined(windows):
|
||||||
discard posix.connect(client_socket, aiList.ai_addr,
|
discard posix.connect(client_socket, aiList.ai_addr,
|
||||||
aiList.ai_addrlen.Socklen)
|
aiList.ai_addrlen.Socklen)
|
||||||
dealloc(aiList)
|
dealloc(aiList)
|
||||||
|
discard selector.select(100)
|
||||||
var rc1 = selector.select(100)
|
var rc1 = selector.select(100)
|
||||||
assert(len(rc1) == 2)
|
assert(len(rc1) == 2)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue