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

ruby-changes:64598

From: Yusuke <ko1@a...>
Date: Fri, 25 Dec 2020 21:59:29 +0900 (JST)
Subject: [ruby-changes:64598] a01d28fed7 (master): test/test_trick.rb: increase timeout of some tests

https://git.ruby-lang.org/ruby.git/commit/?id=a01d28fed7

From a01d28fed7de2682d23606346ffededf19eb42c9 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Fri, 25 Dec 2020 21:58:50 +0900
Subject: test/test_trick.rb: increase timeout of some tests

http://rubyci.s3.amazonaws.com/raspbian10-armv7l/ruby-master/log/20201225T071824Z.fail.html.gz

diff --git a/test/test_trick.rb b/test/test_trick.rb
index 43dc236..abdfbca 100644
--- a/test/test_trick.rb
+++ b/test/test_trick.rb
@@ -18,7 +18,7 @@ class TestTRICK2013 < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/test_trick.rb#L18
   def test_mame
     src = File.join(__dir__, "../sample/trick2013/mame/entry.rb")
     ignore_dsp = "def open(_file, _mode); s = ''; def s.flush; self;end; yield s; end;"
-    assert_in_out_err(["-W0"], ignore_dsp + File.read(src), File.read(src).lines(chomp: true))
+    assert_in_out_err(["-W0"], ignore_dsp + File.read(src), File.read(src).lines(chomp: true), timeout: 60)
   end
 
   def test_shinh
@@ -34,7 +34,7 @@ end https://github.com/ruby/ruby/blob/trunk/test/test_trick.rb#L34
 
 class TestTRICK2015 < Test::Unit::TestCase
   def test_kinaba
-    src = File.join(__dir__, "../sample/trick2015/kinaba/entry.rb")
+    src = File.join(__dir__, "../sample/trick2015/kinaba/entry.rb", timeout: 60)
 
     # calculate the first 10000 digits of Pi
     n = 10000
-- 
cgit v0.10.2


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

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