A platform for community discussion. Free, open, simple.
DEV: Remove ActiveRecord connection pool busy check in tests (#22460)
Alan Guo Xiang Tane1c3c7bddf4d
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rbindex b9cc331a93d..12c952109a1 100644--- a/spec/rails_helper.rb+++ b/spec/rails_helper.rb@@ -339,10 +339,6 @@ RSpec.configure do |config|unfreeze_timeActionMailer::Base.deliveries.clear-- if ActiveRecord::Base.connection_pool.stat[:busy] > 1- raise ActiveRecord::Base.connection_pool.stat.inspect- endendconfig.after(:suite) do