Skip to content

Commit

Permalink
Fix fiber scheduler address resolve solaris tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno- committed Jun 14, 2021
1 parent 050a895 commit c9f3f21
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/fiber/test_address_resolve.rb
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,9 @@ def test_socket_getnameinfo_domain_blocking
Fiber.set_scheduler scheduler

Fiber.schedule do
result = Socket.getnameinfo(["AF_INET", 80, "example.com"])
result = Socket.getnameinfo(["AF_INET", 80, "example.com"], Socket::NI_NUMERICSERV)

assert_equal([
"1.2.3.4",
"http"
], result)
assert_equal(["1.2.3.4", "80"], result)
end
end.join
end
Expand Down

0 comments on commit c9f3f21

Please sign in to comment.