Extend timeout with resolv.rb and Windows platform. It's expired with 10sec sometimes.

This commit is contained in:
Hiroshi SHIBATA 2025-02-13 14:13:47 +09:00
parent cf00b31b5d
commit 45397f8284
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -17,7 +17,7 @@ class TestRequireLib < Test::Unit::TestCase
scripts.each do |lib|
define_method "test_thread_size:#{lib}" do
assert_separately(['-W0'], "#{<<~"begin;"}\n#{<<~"end;"}")
assert_separately(['-W0'], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 60)
begin;
n = Thread.list.size
require #{lib.dump}