ruby-changes:57675
From: Masaki <ko1@a...>
Date: Mon, 9 Sep 2019 15:05:57 +0900 (JST)
Subject: [ruby-changes:57675] 461663f52a (master): Fix domain name for test
https://git.ruby-lang.org/ruby.git/commit/?id=461663f52a From 461663f52a87bbae7f3713862a20a4aa6bd63e4c Mon Sep 17 00:00:00 2001 From: Masaki Matsushita <glass.saga@g...> Date: Mon, 9 Sep 2019 15:05:05 +0900 Subject: Fix domain name for test diff --git a/test/socket/test_addrinfo.rb b/test/socket/test_addrinfo.rb index 2af6918..9f50848 100644 --- a/test/socket/test_addrinfo.rb +++ b/test/socket/test_addrinfo.rb @@ -689,7 +689,7 @@ class TestSocketAddrinfo < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/socket/test_addrinfo.rb#L689 end def test_addrinfo_timeout - ai = Addrinfo.getaddrinfo("localhost.localdomain", "http", Socket::PF_INET, Socket::SOCK_STREAM, timeout: 1).fetch(0) + ai = Addrinfo.getaddrinfo("localhost", "http", Socket::PF_INET, Socket::SOCK_STREAM, timeout: 1).fetch(0) assert_equal(6, ai.protocol) assert_equal(80, ai.ip_port) end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/