diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-04-03 14:18:55 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-04-03 19:41:48 +0900 |
| commit | 7065e60318c970655eb561829a2071c310b67e2d (patch) | |
| tree | 5f83a58454c2031410e5b64f7cd548e12defac1b | |
| parent | c48219e2d738faa388e61361c0549f7addbfacfe (diff) | |
Use IPv4 for test server because TestNetHTTPS is failing with s390x
https://rubyci.s3.amazonaws.com/s390x/ruby-3.2/log/20250403T005659Z.fail.html.gz
| -rw-r--r-- | test/net/http/test_http.rb | 4 | ||||
| -rw-r--r-- | test/net/http/test_https.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb index 53092ee0e8..55fc983a0f 100644 --- a/test/net/http/test_http.rb +++ b/test/net/http/test_http.rb @@ -1249,7 +1249,7 @@ end class TestNetHTTPLocalBind < Test::Unit::TestCase CONFIG = { - 'host' => 'localhost', + 'host' => '127.0.0.1', 'proxy_host' => nil, 'proxy_port' => nil, } @@ -1286,7 +1286,7 @@ end class TestNetHTTPForceEncoding < Test::Unit::TestCase CONFIG = { - 'host' => 'localhost', + 'host' => '127.0.0.1', 'proxy_host' => nil, 'proxy_port' => nil, } diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb index c0d66ba354..0477f7df63 100644 --- a/test/net/http/test_https.rb +++ b/test/net/http/test_https.rb @@ -23,7 +23,7 @@ class TestNetHTTPS < Test::Unit::TestCase TEST_STORE = OpenSSL::X509::Store.new.tap {|s| s.add_cert(CA_CERT) } CONFIG = { - 'host' => HOST, + 'host' => HOST_IP, 'proxy_host' => nil, 'proxy_port' => nil, 'ssl_enable' => true, |
