[前][次][番号順一覧][スレッド一覧]

ruby-changes:54413

From: k0kubun <ko1@a...>
Date: Sat, 29 Dec 2018 13:48:29 +0900 (JST)
Subject: [ruby-changes:54413] k0kubun:r66628 (trunk): test_notimp.rb: loosen timeout

k0kubun	2018-12-29 13:48:23 +0900 (Sat, 29 Dec 2018)

  New Revision: 66628

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66628

  Log:
    test_notimp.rb: loosen timeout
    
    to prevent random failures like
    https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian8/ruby-trunk/log/20181229T033003Z.fail.html.gz

  Modified files:
    trunk/test/ruby/test_notimp.rb
Index: test/ruby/test_notimp.rb
===================================================================
--- test/ruby/test_notimp.rb	(revision 66627)
+++ test/ruby/test_notimp.rb	(revision 66628)
@@ -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(EnvUtil.apply_timeout_scale(5)) {
+      Timeout.timeout(EnvUtil.apply_timeout_scale(20)) {
         pid = fork {}
         Process.wait pid
         pid = nil

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]