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

ruby-changes:44613

From: shugo <ko1@a...>
Date: Thu, 10 Nov 2016 11:24:05 +0900 (JST)
Subject: [ruby-changes:44613] shugo:r56686 (trunk): Extend timeout for RubyCI chkbuild on Debian 8.2 x86_64.

shugo	2016-11-10 11:23:58 +0900 (Thu, 10 Nov 2016)

  New Revision: 56686

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

  Log:
    Extend timeout for RubyCI chkbuild on Debian 8.2 x86_64.
    
    On that machine, TestQueue#test_thr_kill often fails as follows:
    
          1) Failure:
        TestQueue#test_thr_kill [/home/hsbt/chkbuild/tmp/build/20161109T213002Z/ruby/test/thread/test_queue.rb:155]:
        only 171/250 done in 30 seconds.
    
    Even if it passes, it takes about 30 seconds:
    
        [11160/16832] TestQueue#test_thr_kill = 29.80 s

  Modified files:
    trunk/test/thread/test_queue.rb
Index: test/thread/test_queue.rb
===================================================================
--- test/thread/test_queue.rb	(revision 56685)
+++ test/thread/test_queue.rb	(revision 56686)
@@ -132,7 +132,7 @@ class TestQueue < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/thread/test_queue.rb#L132
   def test_thr_kill
     bug5343 = '[ruby-core:39634]'
     Dir.mktmpdir {|d|
-      timeout = 30
+      timeout = 60
       total_count = 250
       begin
         assert_normal_exit(<<-"_eom", bug5343, {:timeout => timeout, :chdir=>d})

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

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