mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix service name for test
change service name to fix failed test on Solaris
This commit is contained in:
parent
461663f52a
commit
0fb2457d79
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ class TestSocketAddrinfo < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_addrinfo_timeout
|
||||
ai = Addrinfo.getaddrinfo("localhost", "http", Socket::PF_INET, Socket::SOCK_STREAM, timeout: 1).fetch(0)
|
||||
ai = Addrinfo.getaddrinfo("localhost", nil, Socket::PF_INET, Socket::SOCK_STREAM, timeout: 1).fetch(0)
|
||||
assert_equal(6, ai.protocol)
|
||||
assert_equal(80, ai.ip_port)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue