1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Ruby 1.9: skip pg locking test for 1.9.1 also

This commit is contained in:
Jeremy Kemper 2009-11-15 10:28:48 -08:00
parent cc011bc2be
commit 7601d482bd

View file

@ -283,7 +283,7 @@ unless current_adapter?(:SybaseAdapter, :OpenBaseAdapter)
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 }