Skip to content

Commit

Permalink
WIP add thread list checker
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1 committed Oct 11, 2023
1 parent 6df6958 commit a2d874f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/ruby/test_thread.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ def test_thread_interrupt_for_killed_thread
t = Thread.new{sleep 0}
t.raise Interrupt
Thread.pass # allow t to finish
n = Thread.list.size
raise "#{n} > 1000" if n > 1000
end
_end
end
Expand Down

0 comments on commit a2d874f

Please sign in to comment.