1
0
Fork 0
mirror of https://github.com/mperham/connection_pool synced 2023-03-27 23:22:21 -04:00
connection_pool/test
Eric Hodel 708ab9a6c4 ConnectionPool::TimedStack is now lazy
Now TimedStack only creates connections when the internal queue is empty
and the number of connections is less than the maximum set.  By default
no connections are created when the pool is created.

This required some changes to the TimedStack tests because I wrote poor
tests the first time around.  The new tests better exercise the intended
behavior of TimedStack.

This required some changes to the ConnectionPool tests to use up
connections because now an unused pool has no connections.
2014-02-17 16:25:22 -08:00
..
helper.rb Force use of minitest gem for ruby 1.9.3 2014-02-14 16:56:30 -08:00
test_connection_pool.rb ConnectionPool::TimedStack is now lazy 2014-02-17 16:25:22 -08:00
test_connection_pool_timed_stack.rb ConnectionPool::TimedStack is now lazy 2014-02-17 16:25:22 -08:00