Skip to content

Commit

Permalink
Fix race condition in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Jan 16, 2015
1 parent 33ca82f commit cd7e160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_manager.rb
Expand Up @@ -121,7 +121,7 @@ def new_manager(opts)
info = Sidekiq.redis { |c| c.hmget('identity', 'busy') }
assert_equal ["1"], info
expires = Sidekiq.redis { |c| c.pttl('identity') }
assert_in_delta 60000, expires, 50
assert_in_delta 60000, expires, 500
end
end

Expand Down

0 comments on commit cd7e160

Please sign in to comment.