% bundle exec rake test:sqlite3_mem
(snip)
Finished in 55.514131s, 87.2030 runs/s, 244.2982 assertions/s.
1) Error:
QueryCacheTest#test_cache_is_not_available_when_using_a_not_connected_connection:
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table: tasks: SELECT "tasks".* FROM "tasks" WHERE "tasks"."id" = ? LIMIT ?
/Users/koic/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:91:in `initialize'
/Users/koic/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:91:in `new'
/Users/koic/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/sqlite3-1.3.13/lib/sqlite3/database.rb:91:in `prepare'
/Users/koic/src/github.com/rails/rails/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb:223:in `block (2 levels) in exec_query'
/Users/koic/src/github.com/rails/rails/activesupport/lib/active_support/dependencies/interlock.rb:46:in `block in permit_concurrent_loads'
/Users/koic/src/github.com/rails/rails/activesupport/lib/active_support/concurrency/share_lock.rb:185:in `yield_shares'
/Users/koic/src/github.com/rails/rails/activesupport/lib/active_support/dependencies/interlock.rb:45:in `permit_concurrent_loads'
/Users/koic/src/github.com/rails/rails/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb:220:in `block in exec_query'
/Users/koic/src/github.com/rails/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:600:in `block in log'
/Users/koic/src/github.com/rails/rails/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/koic/src/github.com/rails/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:593:in `log'
/Users/koic/src/github.com/rails/rails/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb:219:in `exec_query'
/Users/koic/src/github.com/rails/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:361:in `select'
/Users/koic/src/github.com/rails/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:42:in `select_all'
/Users/koic/src/github.com/rails/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:95:in `select_all'
/Users/koic/src/github.com/rails/rails/activerecord/lib/active_record/querying.rb:39:in `find_by_sql'
/Users/koic/src/github.com/rails/rails/activerecord/lib/active_record/statement_cache.rb:107:in `execute'
/Users/koic/src/github.com/rails/rails/activerecord/lib/active_record/core.rb:187:in `find'
/Users/koic/src/github.com/rails/rails/activerecord/test/cases/query_cache_test.rb:297:in `block (2 levels) in test_cache_is_not_available_when_using_a_not_connected_connection'
/Users/koic/src/github.com/rails/rails/activerecord/test/cases/test_case.rb:50:in `assert_queries'
/Users/koic/src/github.com/rails/rails/activerecord/test/cases/query_cache_test.rb:297:in `block in test_cache_is_not_available_when_using_a_not_connected_connection'
/Users/koic/src/github.com/rails/rails/activerecord/lib/active_record/query_cache.rb:11:in `cache'
/Users/koic/src/github.com/rails/rails/activerecord/test/cases/query_cache_test.rb:295:in `test_cache_is_not_available_when_using_a_not_connected_connection'
4841 runs, 13562 assertions, 0 failures, 1 errors, 4 skips
You have skipped tests. Run with --verbose for details.
rake aborted!
Last active
January 27, 2017 02:41
-
-
Save koic/101542ee3463a024172d63ff7602a669 to your computer and use it in GitHub Desktop.
bundle exec rake test:sqlite3_mem
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment