Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't litter the specs with hacks.

  • Loading branch information...
commit b6e1dc98f9c5a03932acafc56ad7c7561faa370b 1 parent 244fe57
@brixen brixen authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  library/socket/socket/accept_nonblock_spec.rb
View
1  library/socket/socket/accept_nonblock_spec.rb
@@ -9,6 +9,7 @@
@addr = Socket.sockaddr_in(SocketSpecs.port, @hostname)
@socket = Socket.new(Socket::AF_INET, Socket::SOCK_STREAM, 0)
+ # TODO: This is a hack. Fix the race condition.
count = 0
begin
@socket.bind(@addr)
Please sign in to comment.
Something went wrong with that request. Please try again.