Increase margin for timing assertion

Failed because delta was 0.03097:
https://travis-ci.org/lostisland/faraday/jobs/16672600
This commit is contained in:
Mislav Marohnić 2014-01-09 10:46:42 -08:00
parent 362baf728e
commit d30873c9fe

View File

@ -48,7 +48,7 @@ module Middleware
assert_raises(Errno::ETIMEDOUT) {
conn(:max => 2, :interval => 0.1).post("/unstable")
}
assert_in_delta 0.2, Time.now - started, 0.03
assert_in_delta 0.2, Time.now - started, 0.04
end
def test_calls_sleep_amount