1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

fix timing heisenbug

This commit is contained in:
Mike Perham 2015-01-07 11:22:42 -08:00
parent c1ae1f9e74
commit 580a01aefe

View file

@ -252,7 +252,7 @@ class TestApi < Sidekiq::Test
job = Sidekiq::ScheduledSet.new.find_job(job_id)
refute_nil job
assert_equal job_id, job.jid
assert_in_delta job.latency, 0.0, 0.01
assert_in_delta job.latency, 0.0, 0.1
end
it 'can remove jobs when iterating over a sorted set' do