diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-01 08:04:37 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-10-01 08:04:37 +0000 |
commit | 43ce320c4c4b7a06e1153022177f568860c5c6d6 (patch) | |
tree | 2474cebc421125399089f583e1484fb1aee59291 /test/webrick | |
parent | b602f6516fd290a1cf4867b5edc299ed3cbc2241 (diff) | |
download | ruby-43ce320c4c4b7a06e1153022177f568860c5c6d6.tar.gz |
* test/webrick/test_httpproxy.rb (TestWEBrickHTTPProxy::test_upstream_proxy):
My machine fails this test at this line, saying 503 service unavailable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/webrick')
-rw-r--r-- | test/webrick/test_httpproxy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/webrick/test_httpproxy.rb b/test/webrick/test_httpproxy.rb index d37fd70a7a..58b834fe36 100644 --- a/test/webrick/test_httpproxy.rb +++ b/test/webrick/test_httpproxy.rb @@ -202,6 +202,7 @@ class TestWEBrickHTTPProxy < Test::Unit::TestCase 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) |