mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/net/http/test_https_proxy.rb
(HTTPSProxyTest#test_https_proxy_authentication): add workaround to avoid to hang up without openssl. see #5786 * test/resolv/test_dns.rb (TestResolvDNS#test_query_ipv4_address): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ca77bce66d
commit
ca0bb51887
3 changed files with 22 additions and 0 deletions
|
|
@ -23,6 +23,12 @@ class TestResolvDNS < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_query_ipv4_address
|
||||
begin
|
||||
OpenSSL
|
||||
rescue LoadError
|
||||
skip 'autoload problem. see [ruby-dev:45021][Bug #5786]'
|
||||
end if defined?(OpenSSL)
|
||||
|
||||
with_udp('127.0.0.1', 0) {|u|
|
||||
_, server_port, _, server_address = u.addr
|
||||
begin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue