1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/openssl/utils.rb: Extend the timeout for armv7l

https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190607T051708Z.fail.html.gz
This commit is contained in:
Yusuke Endoh 2019-06-07 23:33:23 +09:00
parent b76630f73e
commit 75751dca2b

View file

@ -266,7 +266,7 @@ class OpenSSL::SSLTestCase < OpenSSL::TestCase
pend = nil pend = nil
threads.each { |th| threads.each { |th|
begin begin
timeout = EnvUtil.apply_timeout_scale(10) timeout = EnvUtil.apply_timeout_scale(30)
th.join(timeout) or th.join(timeout) or
th.raise(RuntimeError, "[start_server] thread did not exit in #{ timeout } secs") th.raise(RuntimeError, "[start_server] thread did not exit in #{ timeout } secs")
rescue (defined?(MiniTest::Skip) ? MiniTest::Skip : Test::Unit::PendedError) rescue (defined?(MiniTest::Skip) ? MiniTest::Skip : Test::Unit::PendedError)