mirror of
https://github.com/mperham/connection_pool
synced 2023-03-27 23:22:21 -04:00
Speed up test_wrapper_with
This commit is contained in:
parent
0589a56e35
commit
a5ec5bf1ae
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ class TestConnectionPool < Minitest::Test
|
|||
end
|
||||
|
||||
def test_wrapper_with
|
||||
wrapper = ConnectionPool::Wrapper.new(:size => 1) { Object.new }
|
||||
wrapper = ConnectionPool::Wrapper.new(:timeout => 0, :size => 1) { Object.new }
|
||||
|
||||
wrapper.with do
|
||||
assert_raises Timeout::Error do
|
||||
|
|
Loading…
Reference in a new issue