DEV: Remove ActiveRecord connection pool busy check in tests (#22460)

This was added way back in bdf3da8f80 but
has never been useful in any meaningful way for us. Therefore, we're
dropping this check.
This commit is contained in:
Alan Guo Xiang Tan 2023-07-06 12:02:28 +08:00 committed by GitHub
parent 1cd512a03a
commit e1c3c7bddf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -339,10 +339,6 @@ RSpec.configure do |config|
unfreeze_time
ActionMailer::Base.deliveries.clear
if ActiveRecord::Base.connection_pool.stat[:busy] > 1
raise ActiveRecord::Base.connection_pool.stat.inspect
end
end
config.after(:suite) do