From ca0bb51887a5682f1211c6fe627df778783ba0fd Mon Sep 17 00:00:00 2001 From: kazu Date: Thu, 2 Feb 2012 15:55:07 +0000 Subject: * 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 --- test/net/http/test_https_proxy.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/net') diff --git a/test/net/http/test_https_proxy.rb b/test/net/http/test_https_proxy.rb index 5618830587..57cabf05e0 100644 --- a/test/net/http/test_https_proxy.rb +++ b/test/net/http/test_https_proxy.rb @@ -6,6 +6,12 @@ require 'test/unit' class HTTPSProxyTest < Test::Unit::TestCase def test_https_proxy_authentication + begin + OpenSSL + rescue LoadError + skip 'autoload problem. see [ruby-dev:45021][Bug #5786]' + end + t = nil TCPServer.open("127.0.0.1", 0) {|serv| _, port, _, _ = serv.addr -- cgit v1.2.3