1
0
Fork 0
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:
Ryuta Kamizono 2019-01-03 08:51:06 +09:00 committed by GitHub
commit f04e04b45c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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