summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-26 07:25:05 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-03-26 07:25:05 +0000
commit1fb37c4c1af40584a9238615808af3cb22e11428 (patch)
treefa3c95a7722f627443ef02a3179d9bba59ca4aea /test
parentb2cdb79c7a0dd8898c4a03129d9b21ff11985bf5 (diff)
* test/ruby/test_thread.rb (test_thread_interrupt_for_killed_thread):
may fix the test failure on some platforms introduced at r58108. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_thread.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb
index 57080ac6ea..109a01117b 100644
--- a/test/ruby/test_thread.rb
+++ b/test/ruby/test_thread.rb
@@ -1050,7 +1050,7 @@ q.pop
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}