Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed May 2, 2023
1 parent 95be4ac commit a83e4f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/config_test.rb
Expand Up @@ -9,7 +9,7 @@

it "provides a default size" do
@config.redis = {}
assert_equal 5, @config.redis_pool.size
assert_equal 10, @config.redis_pool.size
end

it "allows custom sizing" do
Expand Down
8 changes: 4 additions & 4 deletions test/redis_connection_test.rb
Expand Up @@ -49,12 +49,12 @@ def server_connection(args = {})

it "sizes default pool" do
pool = server_connection
assert_equal 5, pool.size
assert_equal 10, pool.size
end

it "defaults client pool sizes to 5" do
it "defaults client pool sizes" do
pool = client_connection
assert_equal 5, pool.size
assert_equal 10, pool.size
end

it "sizes capsule pools based on concurrency" do
Expand All @@ -65,7 +65,7 @@ def server_connection(args = {})
# Only Sidekiq::CLI looks at ENV
ENV["RAILS_MAX_THREADS"] = "9"
pool = client_connection
assert_equal 5, pool.size
assert_equal 10, pool.size
ensure
ENV.delete("RAILS_MAX_THREADS")
end
Expand Down

0 comments on commit a83e4f2

Please sign in to comment.