aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-11-09 05:27:30 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-11-09 05:27:30 +0900
commit89603b41edbaaed5cab4964a30caa8bda9285879 (patch)
tree226cf6442ca95e5df7179a60847216ef45846db8 /activerecord
parentaf91eff3fa395a0a57f8002b3b92e5d053cd2d7d (diff)
downloadrails-89603b41edbaaed5cab4964a30caa8bda9285879.tar.gz
rails-89603b41edbaaed5cab4964a30caa8bda9285879.tar.bz2
rails-89603b41edbaaed5cab4964a30caa8bda9285879.zip
`Mysql2Adapter` should pass `ConcurrentTransactionTest`
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/transactions_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/transactions_test.rb b/activerecord/test/cases/transactions_test.rb
index 7fd125ab74..91032945a6 100644
--- a/activerecord/test/cases/transactions_test.rb
+++ b/activerecord/test/cases/transactions_test.rb
@@ -954,7 +954,7 @@ class TransactionsWithTransactionalFixturesTest < ActiveRecord::TestCase
end
end if Topic.connection.supports_savepoints?
-if current_adapter?(:PostgreSQLAdapter)
+if current_adapter?(:PostgreSQLAdapter, :Mysql2Adapter)
class ConcurrentTransactionTest < TransactionTest
# This will cause transactions to overlap and fail unless they are performed on
# separate database connections.