提交 8a42229f 编写于 作者: V Vipul A M

We are erroring due to nested transaction failures from mysql on...

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
上级 58a22127
......@@ -316,6 +316,8 @@ def test_drops_testand_development_databases_when_rails_env_is_development
end
class DatabaseTasksMigrateTest < ActiveRecord::TestCase
self.use_transactional_tests = false
def setup
ActiveRecord::Tasks::DatabaseTasks.migrations_paths = 'custom/path'
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册