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:
parent
b36d8cc056
commit
05e6b035fb
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class TestConnectionPool < MiniTest::Unit::TestCase
|
|||
result = threads.map(&:value)
|
||||
b = Time.now
|
||||
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
|
||||
|
||||
def test_timeout
|
||||
|
|
Loading…
Reference in a new issue