We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa408d7 commit 1a7cfbaCopy full SHA for 1a7cfba
test/test_helper.rb
@@ -18,6 +18,7 @@
18
ActiveRecord::Base.configurations = {
19
default_env: {
20
url: ENV.fetch('DATABASE_URL', "sqlite3://#{Dir.tmpdir}/with_advisory_lock_test#{RUBY_VERSION}-#{ActiveRecord.gem_version}.sqlite3"),
21
+ pool: 20,
22
properties: { allowPublicKeyRetrieval: true } # for JRuby madness
23
}
24
@@ -62,4 +63,4 @@ def is_postgresql_adapter?; adapter_support.postgresql?; end
62
63
end
64
65
puts "Testing with #{env_db} database, ActiveRecord #{ActiveRecord.gem_version} and #{RUBY_ENGINE} #{RUBY_ENGINE_VERSION} as #{RUBY_VERSION}"
-puts "Connection Pool size: #{ActiveRecord::Base.connection_pool.size}"
66
+puts "Connection Pool size: #{ActiveRecord::Base.connection_pool.size}"
0 commit comments