mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Extend timeout with resolv.rb and Windows platform. It's expired with 10sec sometimes.
This commit is contained in:
parent
cf00b31b5d
commit
45397f8284
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class TestRequireLib < Test::Unit::TestCase
|
||||||
|
|
||||||
scripts.each do |lib|
|
scripts.each do |lib|
|
||||||
define_method "test_thread_size:#{lib}" do
|
define_method "test_thread_size:#{lib}" do
|
||||||
assert_separately(['-W0'], "#{<<~"begin;"}\n#{<<~"end;"}")
|
assert_separately(['-W0'], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 60)
|
||||||
begin;
|
begin;
|
||||||
n = Thread.list.size
|
n = Thread.list.size
|
||||||
require #{lib.dump}
|
require #{lib.dump}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue