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

ruby-changes:38149

From: akr <ko1@a...>
Date: Sat, 11 Apr 2015 18:00:57 +0900 (JST)
Subject: [ruby-changes:38149] akr:r50230 (trunk): Delay signal bit more.

akr	2015-04-11 18:00:39 +0900 (Sat, 11 Apr 2015)

  New Revision: 50230

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

  Log:
    Delay signal bit more.

  Modified files:
    trunk/test/ruby/test_process.rb
Index: test/ruby/test_process.rb
===================================================================
--- test/ruby/test_process.rb	(revision 50229)
+++ test/ruby/test_process.rb	(revision 50230)
@@ -587,7 +587,7 @@ class TestProcess < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L587
           puts "ok"
         end
       EOS
-        sleep 0.1
+        sleep 0.5
         Process.kill(:USR1, io.pid)
         assert_equal("ok\n", io.read)
       }
@@ -602,7 +602,7 @@ class TestProcess < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L602
         trap(:USR1) { print "trap\n" }
         system("cat", :in => "fifo")
       EOS
-        sleep 0.1
+        sleep 0.5
         Process.kill(:USR1, io.pid)
         sleep 0.1
         File.write("fifo", "ok\n")

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

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