RSpec Connection Pool Exhaustion – Diagnose cleanup strategy
Diagnosing Intermittent Connection Pool Exhaustion The goal is to determine whether the observed pool exhaustion during long‑running RSpec suites is caused by the default transactional fixture handling or by the DatabaseCleaner strategy employed. Constraints include the Rails version (≥6 with connection reaping), the presence of background‑job‑like tests tha