diff options
author | Abdelkader Boudih <terminale@gmail.com> | 2015-12-15 22:01:30 +0000 |
---|---|---|
committer | Abdelkader Boudih <terminale@gmail.com> | 2015-12-17 15:54:57 +0000 |
commit | fb24d0ed6c26da70045c6fc128aaa9dcb777c28c (patch) | |
tree | 43de162a22b07482034c63f75d58e6e3cf230c8f /activerecord/test/cases/adapters/mysql/statement_pool_test.rb | |
parent | 0957c8ad6722c1a82c16f70b23fe1f7cb2607ff5 (diff) | |
download | rails-fb24d0ed6c26da70045c6fc128aaa9dcb777c28c.tar.gz rails-fb24d0ed6c26da70045c6fc128aaa9dcb777c28c.tar.bz2 rails-fb24d0ed6c26da70045c6fc128aaa9dcb777c28c.zip |
Remove legacy mysql adapter
Diffstat (limited to 'activerecord/test/cases/adapters/mysql/statement_pool_test.rb')
-rw-r--r-- | activerecord/test/cases/adapters/mysql/statement_pool_test.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/activerecord/test/cases/adapters/mysql/statement_pool_test.rb b/activerecord/test/cases/adapters/mysql/statement_pool_test.rb deleted file mode 100644 index 0d1f968022..0000000000 --- a/activerecord/test/cases/adapters/mysql/statement_pool_test.rb +++ /dev/null @@ -1,19 +0,0 @@ -require 'cases/helper' - -class MysqlStatementPoolTest < ActiveRecord::MysqlTestCase - if Process.respond_to?(:fork) - def test_cache_is_per_pid - cache = ActiveRecord::ConnectionAdapters::MysqlAdapter::StatementPool.new(10) - cache['foo'] = 'bar' - assert_equal 'bar', cache['foo'] - - pid = fork { - lookup = cache['foo']; - exit!(!lookup) - } - - Process.waitpid pid - assert $?.success?, 'process should exit successfully' - end - end -end |