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

ruby-changes:39459

From: nobu <ko1@a...>
Date: Wed, 12 Aug 2015 12:51:21 +0900 (JST)
Subject: [ruby-changes:39459] nobu:r51540 (trunk): test_gc.rb: timeout of test_interrupt_in_finalizer

nobu	2015-08-12 12:51:01 +0900 (Wed, 12 Aug 2015)

  New Revision: 51540

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

  Log:
    test_gc.rb: timeout of test_interrupt_in_finalizer
    
    * test/ruby/test_gc.rb (test_interrupt_in_finalizer): leave
      timeout to invoke_ruby.

  Modified files:
    trunk/test/ruby/test_gc.rb
Index: test/ruby/test_gc.rb
===================================================================
--- test/ruby/test_gc.rb	(revision 51539)
+++ test/ruby/test_gc.rb	(revision 51540)
@@ -340,9 +340,6 @@ class TestGc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc.rb#L340
           sleep 0.1
           Process.kill("INT", pid) rescue break
         }
-        sleep 5
-        Process.kill("SEGV", pid) rescue nil
-        Process.kill("KILL", pid) rescue nil
       end
       f = proc {1000.times {}}
       loop do

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

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