Skip to content

Commit

Permalink
revert invalid changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash authored and JeffBezanson committed Dec 5, 2018
1 parent d3c0d28 commit 6708d27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/Sockets/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ end

let addr = Sockets.InetAddr(ip"127.0.0.1", 4444)
srv = listen(addr)
r = @async (sleep(1); close(srv))
r = @async close(srv)
@test_throws Base._UVError("accept", Base.UV_ECONNABORTED) accept(srv)
fetch(r)
end
Expand All @@ -424,7 +424,7 @@ end
srv = listen(addr)
s = Sockets.TCPSocket()
Sockets.connect!(s, addr)
r = @async (sleep(1); close(s))
r = @async close(s)
@test_throws Base._UVError("connect", Base.UV_ECANCELED) Sockets.wait_connected(s)
fetch(r)
end
Expand Down

0 comments on commit 6708d27

Please sign in to comment.