Skip to content

Commit

Permalink
Raise ECONNRESET
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed Oct 14, 2012
1 parent f7e8f2a commit d270498
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/test_integration.rb
Expand Up @@ -102,8 +102,9 @@ def test_restart_closes_keepalive_sockets

assert_raises Errno::ECONNRESET do
Timeout.timeout(2) do
r = s.read(2)
p :read_ret => r
if s.read(2).nil?
raise Errno::ECONNRESET
end
end
end

Expand Down

0 comments on commit d270498

Please sign in to comment.