mirror of
https://github.com/mperham/connection_pool
synced 2023-03-27 23:22:21 -04:00
doc failure
This commit is contained in:
parent
bfc240bf3a
commit
dc27d7abc8
1 changed files with 2 additions and 3 deletions
|
@ -141,9 +141,8 @@ class TestConnectionPool < Minitest::Test
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_checkout_ignores_timeout
|
def test_handle_interrupt_ensures_checkin
|
||||||
skip("Thread.handle_interrupt not available") unless Thread.respond_to?(:handle_interrupt)
|
# this test is broken on jruby as of 9.2.5.0
|
||||||
|
|
||||||
pool = ConnectionPool.new(timeout: 0, size: 1) { Object.new }
|
pool = ConnectionPool.new(timeout: 0, size: 1) { Object.new }
|
||||||
def pool.checkout(options)
|
def pool.checkout(options)
|
||||||
sleep 0.015
|
sleep 0.015
|
||||||
|
|
Loading…
Reference in a new issue