Reduce timeout of test_getaddrinfo_after_fork

This commit is contained in:
Masaki Matsushita 2020-12-05 17:43:03 +09:00
parent d2b7e1e4b2
commit 5e58a9033f
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class TestSocket < Test::Unit::TestCase
require "socket"
Socket.getaddrinfo("localhost", nil)
pid = fork { Socket.getaddrinfo("localhost", nil) }
assert_equal pid, Timeout.timeout(30) { Process.wait(pid) }
assert_equal pid, Timeout.timeout(3) { Process.wait(pid) }
end;
end