mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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
|
unfreeze_time
|
||||||
ActionMailer::Base.deliveries.clear
|
ActionMailer::Base.deliveries.clear
|
||||||
|
|
||||||
if ActiveRecord::Base.connection_pool.stat[:busy] > 1
|
|
||||||
raise ActiveRecord::Base.connection_pool.stat.inspect
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
config.after(:suite) do
|
config.after(:suite) do
|
||||||
|
Loading…
Reference in New Issue
Block a user