Skip to content

Commit

Permalink
revert invalid changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed Nov 12, 2018
1 parent 416777d commit 7a6d4ba
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 @@ -414,7 +414,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 @@ -423,7 +423,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 7a6d4ba

Please sign in to comment.