mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-07 00:11:11 -04:00
Skip proxy auth test for EM due to em-socksify bug
This commit is contained in:
parent
bc453746c1
commit
ab9a0fb4ad
@ -207,8 +207,10 @@ module Adapters
|
||||
conn.get '/echo'
|
||||
end
|
||||
|
||||
unless self.class.ssl_mode? && self.class.jruby?
|
||||
unless self.class.ssl_mode? && (self.class.jruby? ||
|
||||
adapter == :em_http || adapter == :em_synchrony)
|
||||
# JRuby raises "End of file reached" which cannot be distinguished from a 407
|
||||
# EM raises "connection closed by server" due to https://github.com/igrigorik/em-socksify/pull/19
|
||||
assert_equal %{407 "Proxy Authentication Required "}, err.message
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user