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:
parent
4b4f7c428c
commit
cd284f106a
1 changed files with 1 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue