mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Ruby 1.9: skip pg locking test for 1.9.1 also
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user