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
1 changed files with 1 additions and 1 deletions

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 }