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

ruby-changes:56750

From: Takashi <ko1@a...>
Date: Thu, 1 Aug 2019 20:20:27 +0900 (JST)
Subject: [ruby-changes:56750] Takashi Kokubun: 076f3fcf11 (master): Extend sleep before sending USR1 in TestProcess

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

From 076f3fcf11a061394d3d5f8c671512df1e983023 Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Thu, 1 Aug 2019 20:19:18 +0900
Subject: Extend sleep before sending USR1 in TestProcess

because the test seems to hang there forever:
https://travis-ci.org/ruby/ruby/jobs/566409880

diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index 02efc16..68b07a1 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -667,7 +667,7 @@ class TestProcess < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L667
         end
       EOS
         assert_equal("start\n", io.gets)
-        sleep 0.5
+        sleep 3
         Process.kill(:USR1, io.pid)
         assert_equal("ok\n", io.read)
       }
-- 
cgit v0.10.2


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

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