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:
parent
c1ae1f9e74
commit
580a01aefe
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue