1
0
Fork 0
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:
Eric Hodel 2014-02-14 16:19:48 -08:00
parent 0589a56e35
commit a5ec5bf1ae

View file

@ -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