aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test/integration/queuing_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Provide provider_job_id to qu adapter.Kevin Deisz2015-05-071-5/+8
| | | | Further work to provide provider_job_id for queue adapters.
* Make que report back its job_id to provider_job_idJeroen van Baarsen2015-05-071-10/+4
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Let Sidekiq set provider_job_idJeroen van Baarsen2015-05-071-0/+10
| | | | | | | | | | When a job is added to Sidekiq by ActiveJob, make sure we still can get the original job_id provider by Sidekiq. We do this by adding the sidekiq jid to provider_job_id field on the job object. Partly fixes #18821 Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Get provider_job_id from DelayedJobKevin Deisz2015-05-051-0/+6
| | | | | When queueing with DelayedJob, get the id of the job instance and report it back to ActiveJob as provider_job_id.
* Do not use named queues for que adapterRafael Mendonça França2015-05-031-1/+1
| | | | See #19498
* Queue Classic runs a second earlier than scheduledMatthew Draper2015-04-231-1/+1
| | | | | | | That seems to be a bug, but as we don't actually care about the precision for our test, we'll just give it a bit longer. [Matthew Draper & Cristian Bica]
* Fix sidekiq test order dependencyMatthew Draper2015-04-201-2/+0
| | | | | | | | Requiring sidekiq/testing changes stuff, so we need to counteract that after we do so. And given its potential to confuse things, let's do it up front, at a predictable point.
* Pass wrapped class name to Sidekiq for logging purposesMike Perham2015-03-231-0/+13
| | | | | | | Sidekiq logs the name of the job class being performed. Because ActiveJob wraps the class, this means every job logs as an AJ::JobWrapper instead of the actual class name. Will help fix mperham/sidekiq#2248
* :nail_care: fix typos in activejob queuing testJoe Lewis2014-10-221-2/+2
|
* tests, move `original_` var assignments outside of `begin`.Yves Senn2014-10-101-2/+3
|
* ActiveJob Integration TestsCristian Bica2014-09-111-0/+46