1
0
Fork 0
mirror of https://github.com/mperham/connection_pool synced 2023-03-27 23:22:21 -04:00

fix intermittent failure for issue #2

This commit is contained in:
Ryan LeCompte 2012-02-05 19:54:48 -08:00
parent b36d8cc056
commit 05e6b035fb

View file

@ -32,7 +32,7 @@ class TestConnectionPool < MiniTest::Unit::TestCase
result = threads.map(&:value) result = threads.map(&:value)
b = Time.now b = Time.now
assert_operator((b - a), :>, 0.125) assert_operator((b - a), :>, 0.125)
assert_equal([1,2,3].cycle(5).sort, result) assert_equal([1,2,3].cycle(5).sort, result.sort)
end end
def test_timeout def test_timeout