ruby-changes:46799
From: ko1 <ko1@a...>
Date: Sat, 27 May 2017 11:01:45 +0900 (JST)
Subject: [ruby-changes:46799] ko1:r58914 (trunk): apply timeout scale
ko1 2017-05-27 11:01:41 +0900 (Sat, 27 May 2017) New Revision: 58914 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58914 Log: apply timeout scale Modified files: trunk/test/ruby/test_notimp.rb Index: test/ruby/test_notimp.rb =================================================================== --- test/ruby/test_notimp.rb (revision 58913) +++ test/ruby/test_notimp.rb (revision 58914) @@ -36,7 +36,7 @@ class TestNotImplement < Test::Unit::Tes https://github.com/ruby/ruby/blob/trunk/test/ruby/test_notimp.rb#L36 proc {`ps -l #{pid}`} end assert_nothing_raised(Timeout::Error, ps) do - Timeout.timeout(5) { + Timeout.timeout(EnvUtil.apply_timeout_scale(5)) { pid = fork {} Process.wait pid pid = nil -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/