mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #34846 from palkan/fix/ar-reaper-test
fix activerecord reaper_test
This commit is contained in:
commit
f04e04b45c
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ module ActiveRecord
|
|||
|
||||
reaper = ConnectionPool::Reaper.new(fp, 0.0001)
|
||||
reaper.run
|
||||
until fp.reaped
|
||||
until fp.flushed
|
||||
Thread.pass
|
||||
end
|
||||
assert fp.reaped
|
||||
|
|
Loading…
Reference in a new issue