From 7601d482bd187bdd06d3aa7ac1e8c7bb805f40a3 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sun, 15 Nov 2009 10:28:48 -0800 Subject: Ruby 1.9: skip pg locking test for 1.9.1 also --- activerecord/test/cases/locking_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/test/cases/locking_test.rb b/activerecord/test/cases/locking_test.rb index 7e51526370..f946e8699e 100644 --- a/activerecord/test/cases/locking_test.rb +++ b/activerecord/test/cases/locking_test.rb @@ -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 } -- cgit v1.2.3