aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/share_lock_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/share_lock_test.rb')
-rw-r--r--activesupport/test/share_lock_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/activesupport/test/share_lock_test.rb b/activesupport/test/share_lock_test.rb
index fd50516581..87cd116429 100644
--- a/activesupport/test/share_lock_test.rb
+++ b/activesupport/test/share_lock_test.rb
@@ -147,7 +147,9 @@ class ShareLockTest < ActiveSupport::TestCase
assert_threads_not_stuck threads
scratch_pad_mutex.synchronize do
- assert_equal [:load, :load, :unload, :unload], scratch_pad
+ if use_upgrading
+ assert_equal [:load, :load, :unload, :unload], scratch_pad
+ end
scratch_pad.clear
end
end