From: Koichi Sasada Date: 2012-03-11T16:42:03+09:00 Subject: [ruby-core:43207] [ruby-trunk - Bug #5563] Fix bug in drb tests if hostname does not resolve to a local IP Issue #5563 has been updated by Koichi Sasada. Assignee set to Masatoshi Seki ---------------------------------------- Bug #5563: Fix bug in drb tests if hostname does not resolve to a local IP https://bugs.ruby-lang.org/issues/5563 Author: Jeremy Evans Status: Open Priority: Normal Assignee: Masatoshi Seki Category: test Target version: ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [i386-openbsd] 3 of the drb tests leave the hostname part of the druby URI empty instead of using localhost. When a hostname is not provided, ruby uses the system hostname, which usually resolves to a local IP address, but not always. This causes the tests to fail if the system hostname doesn't resolve to a local IP address. The tests also appear to hang, since the connection timeout is 100 seconds. The attached patch fixes this case by using localhost as the hostname in the 3 tests that did not already do that, making them consistent with the other tests. -- http://bugs.ruby-lang.org/