Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ignore JRuby test failure for test_socket_local

JRuby versions < 1.7 raises SocketError instead of EADDRINUSE.
  • Loading branch information...
commit bc3176be2724dee3a2e9aeef18920861eb07bb70 1 parent 4b6abe6
@nahi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/test_httpclient.rb
View
2  test/test_httpclient.rb
@@ -1401,7 +1401,7 @@ def test_socket_local
@client.socket_local.port = serverport
begin
@client.get_content(serverurl + 'hello')
- rescue Errno::EADDRINUSE
+ rescue Errno::EADDRINUSE, SocketError
assert(true)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.