1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Fix tests with Rails 7 by increasing the pool to 20.
cf: https://lists.debian.org/debian-ruby/2025/03/msg00013.html
Author: Antonio Terceiro <terceiro@debian.org>
Bug-Debian: https://bugs.debian.org/1095888
Forwarded: https://github.com/ClosureTree/with_advisory_lock/pull/109
Last-Update: 2025-03-15
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -18,6 +18,7 @@
ActiveRecord::Base.configurations = {
default_env: {
url: ENV.fetch('DATABASE_URL', "sqlite3://#{Dir.tmpdir}/#{SecureRandom.hex}.sqlite3"),
+ pool: 20,
properties: { allowPublicKeyRetrieval: true } # for JRuby madness
}
}
|