[#45910] [ruby-trunk - Bug #6694][Open] Thread.new without block. — "ko1 (Koichi Sasada)" <redmine@...>

24 messages 2012/07/04

[#45913] [ruby-trunk - Bug #6698][Open] MacOSXではDir.globが返すファイル名の内容はUTF8-MACですがencodingがUTF-8になっている — "imkira (Mario Freitas)" <imkira@...>

10 messages 2012/07/04

[#45933] [ruby-trunk - Bug #6716][Open] FileUtils.mv でリンク先がないシンボリックリンクファイルを指定すると ENOENT エラーになる — "tommy (Masahiro Tomita)" <tommy@...>

8 messages 2012/07/10

[#45976] [ruby-trunk - Bug #6756][Open] FileUtils.rm_rf がアクセス権のない空ディレクトリを削除しない — "fumiyas (Fumiyasu SATOH)" <fumiyas@...>

9 messages 2012/07/20

[#46012] [ruby-trunk - Feature #6812][Open] Refactor gc.c — "authorNari (Narihiro Nakamura)" <authorNari@...>

13 messages 2012/07/30

[ruby-dev:45974] [ruby-trunk - Bug #6746] test_bind_to_local_host(TestNetHTTPLocalBind) fails.

From: "naruse (Yui NARUSE)" <naruse@...>
Date: 2012-07-18 16:50:04 UTC
List: ruby-dev #45974
Issue #6746 has been updated by naruse (Yui NARUSE).


serverを::1にしてクライアントを::1以外にすると経路がないから通信できないんですが、
両方::1にすればいいだけの話でした。
ちょっとひっかかりはするんですが。
----------------------------------------
Bug #6746: test_bind_to_local_host(TestNetHTTPLocalBind) fails.
https://bugs.ruby-lang.org/issues/6746#change-28199

Author: shyouhei (Shyouhei Urabe)
Status: Closed
Priority: Normal
Assignee: shyouhei (Shyouhei Urabe)
Category: test
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-07-17) [x86_64-linux]


手元の環境でtest_bind_to_local_host(TestNetHTTPLocalBind)が失敗しています。

55) Error:
test_bind_to_local_host(TestNetHTTPLocalBind):
NoMethodError: undefined method `ip_address' for nil:NilClass
    /src/test/net/http/test_http.rb:660:in `_select_local_ip_address'
    /src/test/net/http/test_http.rb:635:in `test_bind_to_local_host'

11283 tests, 2263492 assertions, 3 failures, 13 errors, 67 skips

お察しのように、この環境にはIPv4アドレスがありません。ですがそのような理由でErrorが増えるのは不本意です。

ちょっとテストの意図が分かりかねるため、こちらでの修正がためらわれるのですが、これは何のテストなのでしょうか?


-- 
http://bugs.ruby-lang.org/

In This Thread

Prev Next