Skip to content

Commit

Permalink
fix timing heisenbug
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Jan 7, 2015
1 parent c1ae1f9 commit 580a01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_api.rb
Expand Up @@ -252,7 +252,7 @@ class ApiWorker
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
Expand Down

0 comments on commit 580a01a

Please sign in to comment.