diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-05-05 17:37:46 -0500 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2016-05-06 14:00:21 -0500 |
commit | 8a42229fcf99eeb0de9c0cbabf548f9f29d7c781 (patch) | |
tree | 330e1a110d9d78c5df2b46fd0f70a94f5d085716 /activerecord/test/cases/tasks | |
parent | 58a221278897a66bf8b9c909389da40ac2c5e534 (diff) | |
download | rails-8a42229fcf99eeb0de9c0cbabf548f9f29d7c781.tar.gz rails-8a42229fcf99eeb0de9c0cbabf548f9f29d7c781.tar.bz2 rails-8a42229fcf99eeb0de9c0cbabf548f9f29d7c781.zip |
We are erroring due to nested transaction failures from mysql on test_migrate_clears_schema_cache_afterward test.
Disable transactions for this test.
Fixes #24391
Diffstat (limited to 'activerecord/test/cases/tasks')
-rw-r--r-- | activerecord/test/cases/tasks/database_tasks_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/cases/tasks/database_tasks_test.rb b/activerecord/test/cases/tasks/database_tasks_test.rb index e6d731e1e1..510bb088c8 100644 --- a/activerecord/test/cases/tasks/database_tasks_test.rb +++ b/activerecord/test/cases/tasks/database_tasks_test.rb @@ -316,6 +316,8 @@ module ActiveRecord end class DatabaseTasksMigrateTest < ActiveRecord::TestCase + self.use_transactional_tests = false + def setup ActiveRecord::Tasks::DatabaseTasks.migrations_paths = 'custom/path' end |