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:
parent
cc011bc2be
commit
7601d482bd
1 changed files with 1 additions and 1 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue