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

ruby-changes:49088

From: eregon <ko1@a...>
Date: Wed, 13 Dec 2017 18:45:54 +0900 (JST)
Subject: [ruby-changes:49088] eregon:r61203 (trunk): Avoid extra output in test_thread_interrupt_for_killed_thread

eregon	2017-12-13 18:45:48 +0900 (Wed, 13 Dec 2017)

  New Revision: 61203

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

  Log:
    Avoid extra output in test_thread_interrupt_for_killed_thread

  Modified files:
    trunk/test/ruby/test_thread.rb
Index: test/ruby/test_thread.rb
===================================================================
--- test/ruby/test_thread.rb	(revision 61202)
+++ test/ruby/test_thread.rb	(revision 61203)
@@ -1241,6 +1241,7 @@ q.pop https://github.com/ruby/ruby/blob/trunk/test/ruby/test_thread.rb#L1241
 
   def test_thread_interrupt_for_killed_thread
     assert_normal_exit(<<-_end, '[Bug #8996]', timeout: 5, timeout_error: nil)
+      Thread.report_on_exception = false
       trap(:TERM){exit}
       while true
         t = Thread.new{sleep 0}

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

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