Skip to content

Commit

Permalink
Fixed connection_pool test [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Oct 8, 2021
1 parent 9f90a49 commit 66b98f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/connection_pool_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class ConnectionPoolTest < Minitest::Test
def test_connect
pool = ConnectionPool.new(size: 1, timeout: 1) { Redis.new }
assert_threaded_timeout(ConnectionPool::TimeoutError) do
pool.with { |_| sleep(5) }
pool.with { |_| sleep(1.1) }
end
end
end

0 comments on commit 66b98f3

Please sign in to comment.