Skip to content

Commit eb7ddb7

Browse files
k0kubunjacob-shops
authored andcommitted
1 parent 072be04 commit eb7ddb7

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

test/ruby/test_autoload.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,4 +613,10 @@ module SomeNamespace
613613
RUBY
614614
end
615615
end
616+
617+
private
618+
619+
def assert_separately(*args, **kwargs)
620+
super(*args, **{ timeout: 60 }.merge(kwargs))
621+
end
616622
end

test/test_extlibs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def self.check_existence(ext, add_msg = nil)
1010
add_msg = ". #{add_msg}" if add_msg
1111
log = "#{@extdir}/#{ext}/mkmf.log"
1212
define_method("test_existence_of_#{ext}") do
13-
assert_separately([], <<-"end;", ignore_stderr: true) # do
13+
assert_separately([], <<-"end;", ignore_stderr: true, timeout: 60) # do
1414
log = #{log.dump}
1515
msg = proc {
1616
"extension library `#{ext}' is not found#{add_msg}\n" <<

0 commit comments

Comments
 (0)