Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mperham/sidekiq
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed May 13, 2015
2 parents 5860730 + b900e20 commit 562a858
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/sidekiq/testing.rb
Expand Up @@ -152,6 +152,7 @@ def drain
while job = jobs.shift do
worker = new
worker.jid = job['jid']
worker.bid = job['bid'] if worker.respond_to?(:bid=)
execute_job(worker, job['args'])
end
end
Expand All @@ -162,6 +163,7 @@ def perform_one
job = jobs.shift
worker = new
worker.jid = job['jid']
worker.bid = job['bid'] if worker.respond_to?(:bid=)
execute_job(worker, job['args'])
end

Expand Down

0 comments on commit 562a858

Please sign in to comment.