We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0fab1a commit bea3b8aCopy full SHA for bea3b8a
test/net/http/test_http.rb
@@ -594,8 +594,7 @@ def test_timeout_during_non_chunked_streamed_HTTP_session_write
594
req.body_stream = StringIO.new(data)
595
596
th = Thread.new do
597
- err = !windows? ? Net::WriteTimeout : Net::ReadTimeout
598
- assert_raise(err) { conn.request(req) }
+ assert_raise(Net::WriteTimeout) { conn.request(req) }
599
end
600
assert th.join(10)
601
}
0 commit comments