Permalink
Browse files

Ruby 1.9: skip pg locking test for 1.9.1 also

  • Loading branch information...
1 parent cc011bc commit 7601d482bd187bdd06d3aa7ac1e8c7bb805f40a3 @jeremy jeremy committed Nov 15, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/locking_test.rb
@@ -283,7 +283,7 @@ def test_no_locks_no_wait
end
# Hit by ruby deadlock detection since connection checkout is mutexed.
- if RUBY_VERSION < '1.9.2'
+ if RUBY_VERSION < '1.9.0'
def test_second_lock_waits
assert [0.2, 1, 5].any? { |zzz|
first, second = duel(zzz) { Person.find 1, :lock => true }

0 comments on commit 7601d48

Please sign in to comment.