Permalink
Browse files

script/test: try avoid rbx glitch

rbx in 1.9 mode on Travis:

    wrong status line: "GET /echo HTTP/1.1"

http://travis-ci.org/#!/technoweenie/faraday/jobs/2141589
  • Loading branch information...
1 parent 924cf57 commit 43f8079f2456b7ea6015d48cc9cff293c878baf8 @mislav mislav committed Aug 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 script/test
View
@@ -87,7 +87,7 @@ responsive = lambda { |path|
begin
res = conn.start { conn.get(path) }
res.is_a?(Net::HTTPSuccess)
- rescue Errno::ECONNREFUSED, Errno::EBADF, Timeout::Error
+ rescue Errno::ECONNREFUSED, Errno::EBADF, Timeout::Error, Net::HTTPBadResponse
false
end
}

0 comments on commit 43f8079

Please sign in to comment.