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

ruby-changes:46069

From: usa <ko1@a...>
Date: Sun, 26 Mar 2017 16:25:11 +0900 (JST)
Subject: [ruby-changes:46069] usa:r58140 (ruby_2_2): * test/ruby/test_thread.rb (test_thread_interrupt_for_killed_thread):

usa	2017-03-26 16:25:05 +0900 (Sun, 26 Mar 2017)

  New Revision: 58140

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

  Log:
    * test/ruby/test_thread.rb (test_thread_interrupt_for_killed_thread):
      may fix the test failure on some platforms introduced at r58108.

  Modified files:
    branches/ruby_2_2/ChangeLog
    branches/ruby_2_2/test/ruby/test_thread.rb
    branches/ruby_2_2/version.h
Index: ruby_2_2/ChangeLog
===================================================================
--- ruby_2_2/ChangeLog	(revision 58139)
+++ ruby_2_2/ChangeLog	(revision 58140)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_2/ChangeLog#L1
+Sun Mar 26 16:24:02 2017  NAKAMURA Usaku  <usa@r...>
+
+	* test/ruby/test_thread.rb (test_thread_interrupt_for_killed_thread):
+	  may fix the test failure on some platforms introduced at r58108.
+
 Sun Mar 26 16:22:03 2017  Nobuyoshi Nakada  <nobu@r...>
 
 	envutil.rb: timeout_error argument to invoke_ruby
Index: ruby_2_2/test/ruby/test_thread.rb
===================================================================
--- ruby_2_2/test/ruby/test_thread.rb	(revision 58139)
+++ ruby_2_2/test/ruby/test_thread.rb	(revision 58140)
@@ -1050,7 +1050,7 @@ q.pop https://github.com/ruby/ruby/blob/trunk/ruby_2_2/test/ruby/test_thread.rb#L1050
   end if Process.respond_to?(:fork)
 
   def test_thread_interrupt_for_killed_thread
-    assert_normal_exit(<<-_end, '[Bug #8996]', timeout: 5)
+    assert_normal_exit(<<-_end, '[Bug #8996]', timeout: 5, timeout_error: nil)
       trap(/mswin|mignw/ =~ RUBY_PLATFORM ? :KILL : :TERM){exit}
       while true
         t = Thread.new{sleep 0}
Index: ruby_2_2/version.h
===================================================================
--- ruby_2_2/version.h	(revision 58139)
+++ ruby_2_2/version.h	(revision 58140)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_2/version.h#L1
 #define RUBY_VERSION "2.2.7"
 #define RUBY_RELEASE_DATE "2017-03-26"
-#define RUBY_PATCHLEVEL 466
+#define RUBY_PATCHLEVEL 467
 
 #define RUBY_RELEASE_YEAR 2017
 #define RUBY_RELEASE_MONTH 3

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

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