ruby-changes:17379
From: shyouhei <ko1@a...>
Date: Fri, 1 Oct 2010 17:11:07 +0900 (JST)
Subject: [ruby-changes:17379] Ruby:r29384 (trunk): * test/webrick/test_httpproxy.rb (TestWEBrickHTTPProxy::test_upstream_proxy):
shyouhei 2010-10-01 17:04:37 +0900 (Fri, 01 Oct 2010) New Revision: 29384 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29384 Log: * test/webrick/test_httpproxy.rb (TestWEBrickHTTPProxy::test_upstream_proxy): My machine fails this test at this line, saying 503 service unavailable. Modified files: trunk/ChangeLog trunk/test/webrick/test_httpproxy.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 29383) +++ ChangeLog (revision 29384) @@ -1,3 +1,8 @@ +Fri Oct 1 17:03:00 2010 URABE Shyouhei <shyouhei@r...> + + * test/webrick/test_httpproxy.rb (TestWEBrickHTTPProxy::test_upstream_proxy): + My machine fails this test at this line, saying 503 service unavailable. + Thu Sep 30 16:11:08 2010 NAKAMURA Usaku <usa@r...> * win32/win32.c (rb_w32_getenv): should return NULL if specified name Index: test/webrick/test_httpproxy.rb =================================================================== --- test/webrick/test_httpproxy.rb (revision 29383) +++ test/webrick/test_httpproxy.rb (revision 29384) @@ -202,6 +202,7 @@ req = Net::HTTP::Get.new("/") http.request(req){|res| + skip res.message unless res.code == '200' via = res["via"].split(/,\s+/) assert(via.include?("1.1 localhost.localdomain:#{up_port}"), up_log.call + log.call) assert(via.include?("1.1 localhost.localdomain:#{port}"), up_log.call + log.call) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/