mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 19:55:43 +00:00
DEV: Remove ActiveRecord connection pool busy check in tests (#22460)
This was added way back in bdf3da8f80b7dc32dd90e1d3673c273f65eae5b9 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…
x
Reference in New Issue
Block a user