From 580a01aefefa90abb7d21260bdd406f5182c3e43 Mon Sep 17 00:00:00 2001 From: Mike Perham Date: Wed, 7 Jan 2015 11:22:42 -0800 Subject: [PATCH] fix timing heisenbug --- test/test_api.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_api.rb b/test/test_api.rb index aa16421e..fa58d5dd 100644 --- a/test/test_api.rb +++ b/test/test_api.rb @@ -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