mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
test_thread_pool.rb - small JRuby fix
test_shutdown_with_grace - JRuby - rescued array may contain threads that have been GC'd, and hence are nil?
This commit is contained in:
parent
91e57f4e17
commit
3cc1fb7d5c
1 changed files with 1 additions and 1 deletions
|
@ -264,6 +264,6 @@ class TestThreadPool < Minitest::Test
|
|||
end
|
||||
assert_equal 0, pool.spawned
|
||||
assert_equal 2, rescued.length
|
||||
refute rescued.any?(&:alive?)
|
||||
refute rescued.compact.any?(&:alive?)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue