Fix service name for test
change service name to fix failed test on Solaris
This commit is contained in:
parent
461663f52a
commit
0fb2457d79
@ -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…
x
Reference in New Issue
Block a user