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:
parent
1cd512a03a
commit
e1c3c7bddf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue