Relax timeout limit for FreeBSD again [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2023-04-30 22:53:24 +09:00
parent c2871161b4
commit 160f83ba55
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -1543,7 +1543,7 @@ class TestProcess < Test::Unit::TestCase
end
t1 = Time.now
diff = t1 - t0
sec = RUBY_PLATFORM =~ /freebsd/ ? sec * 2 : sec
sec *= 3 if RUBY_PLATFORM =~ /freebsd/
assert_operator(diff, :<, sec,
->{"#{bug11340}: #{diff} seconds to interrupt Process.wait"})
f.puts