From a5ec5bf1aebde309e085069cfd7cb4e42667bb0e Mon Sep 17 00:00:00 2001 From: Eric Hodel Date: Fri, 14 Feb 2014 16:19:48 -0800 Subject: [PATCH] Speed up test_wrapper_with --- test/test_connection_pool.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_connection_pool.rb b/test/test_connection_pool.rb index 1a4e1a6..b58f279 100644 --- a/test/test_connection_pool.rb +++ b/test/test_connection_pool.rb @@ -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