diff options
author | Kevin Casey <kacasey@berkeley.edu> | 2014-02-08 17:38:54 -0800 |
---|---|---|
committer | Kevin Casey <kacasey@berkeley.edu> | 2014-02-08 17:38:54 -0800 |
commit | 02a3c0e771b3e09173412f93d8699d4825a366d6 (patch) | |
tree | e89319efc7f7d01091f307aaebb1b79f5910f38c /activerecord/test/cases/reaper_test.rb | |
parent | 1ec25d15d9c2e19df0195165b99335a006d449b6 (diff) | |
download | rails-02a3c0e771b3e09173412f93d8699d4825a366d6.tar.gz rails-02a3c0e771b3e09173412f93d8699d4825a366d6.tar.bz2 rails-02a3c0e771b3e09173412f93d8699d4825a366d6.zip |
Reaper has access to threadsafe active? call
Diffstat (limited to 'activerecord/test/cases/reaper_test.rb')
-rw-r--r-- | activerecord/test/cases/reaper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/reaper_test.rb b/activerecord/test/cases/reaper_test.rb index e53a27d5dd..b62a41c08e 100644 --- a/activerecord/test/cases/reaper_test.rb +++ b/activerecord/test/cases/reaper_test.rb @@ -69,7 +69,7 @@ module ActiveRecord conn = pool.checkout count = pool.connections.length - conn.extend(Module.new { def active?; false; end; }) + conn.extend(Module.new { def active_threadsafe?; false; end; }) while count == pool.connections.length Thread.pass |