1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Avoid extra output in test_thread_interrupt_for_killed_thread

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eregon 2017-12-13 09:45:48 +00:00
parent 4b4f7c428c
commit cd284f106a

View file

@ -1241,6 +1241,7 @@ q.pop
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}