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

ruby-changes:62530

From: Jun <ko1@a...>
Date: Thu, 6 Aug 2020 08:37:13 +0900 (JST)
Subject: [ruby-changes:62530] bbbec4b87c (master): Apply timeout-scale to test_thr_kill.

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

From bbbec4b87c1e66909f5bee9acd3e460b8c1ad663 Mon Sep 17 00:00:00 2001
From: Jun Aruga <jaruga@r...>
Date: Fri, 31 Jul 2020 16:08:38 +0200
Subject: Apply timeout-scale to test_thr_kill.


diff --git a/test/ruby/test_thread_queue.rb b/test/ruby/test_thread_queue.rb
index 13c839a..b0fa878 100644
--- a/test/ruby/test_thread_queue.rb
+++ b/test/ruby/test_thread_queue.rb
@@ -131,7 +131,7 @@ class TestThreadQueue < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_thread_queue.rb#L131
   def test_thr_kill
     bug5343 = '[ruby-core:39634]'
     Dir.mktmpdir {|d|
-      timeout = 60
+      timeout = EnvUtil.apply_timeout_scale(60)
       total_count = 250
       begin
         assert_normal_exit(<<-"_eom", bug5343, **{:timeout => timeout, :chdir=>d})
-- 
cgit v0.10.2


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

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