[#67346] Future of test suites for Ruby — Charles Oliver Nutter <headius@...>

I'll try to be brief so we can discuss all this. tl;dr: RubySpec is

19 messages 2015/01/05

[ruby-core:67840] [ruby-trunk - Bug #10788] [Open] Timeout not work with socket

From: 843993077@...
Date: 2015-01-27 15:41:41 UTC
List: ruby-core #67840
Issue #10788 has been reported by =E9=82=93 =E6=89=93=E5=B8=88.

----------------------------------------
Bug #10788: Timeout not work with socket
https://bugs.ruby-lang.org/issues/10788

* Author: =E9=82=93 =E6=89=93=E5=B8=88
* Status: Open
* Priority: Normal
* Assignee: Usaku NAKAMURA
* ruby -v: ruby 2.0.0p481 (2014-05-08) [x64-mingw32]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------

`Timeout.timeout(1) do
  TCPSocket.new "33.2.2.1",333
end
`

The ip 33.2.2.1 is unreachable, I except it raise Timeout::Error, but
in fact it always raise Errno::ETIMEDOUT!

But I test it on Ubuntu14.04(ruby2.0), it's ok!



--=20
https://bugs.ruby-lang.org/

In This Thread

Prev Next