aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/transactions_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/cases/transactions_test.rb b/activerecord/test/cases/transactions_test.rb
index c4f2ed474d..27a7c9212b 100644
--- a/activerecord/test/cases/transactions_test.rb
+++ b/activerecord/test/cases/transactions_test.rb
@@ -504,6 +504,8 @@ class TransactionTest < ActiveRecord::TestCase
end
def test_rollback_when_thread_killed
+ return if in_memory_db?
+
queue = Queue.new
thread = Thread.new do
Topic.transaction do