Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add :only option to assert_no_enqueued_jobs | George Claghorn | 2015-01-08 | 1 | -0/+19 | |
| | ||||||
* | Add :only option to assert_enqueued_jobs | George Claghorn | 2015-01-07 | 1 | -0/+40 | |
| | | | | With the option, assert_enqueued_jobs will check the number of times a specific kind of job is enqueued. | |||||
* | No need to disable sidikiq tests with 1.9.3 anymore | Rafael Mendonça França | 2015-01-04 | 1 | -11/+0 | |
| | ||||||
* | ActiveJob testing improvements | Cristian Bica | 2014-12-30 | 2 | -2/+4 | |
| | | | | | | | | 1. The :test adapter wasn't going through a full cycle of serialize/deserialize when performing jobs. Now it does 2. Regular AJ tests were not run for the :test adapter. Now they are 3. ActiveJob::TestHelper uses assert_valid_keys but doesn’t requires the file that implements that method. Now it does | |||||
* | Expectation comes first | Yukio Mizuta | 2014-12-28 | 1 | -1/+1 | |
| | ||||||
* | redis 3.2.0 doesn't allow tcp protocol anymore | Rafael Mendonça França | 2014-12-13 | 1 | -1/+1 | |
| | | | | Use redis protocol | |||||
* | Include missing require | David Heinemeier Hansson | 2014-12-05 | 1 | -0/+1 | |
| | ||||||
* | Merge pull request #17817 from aripollak/hide-activejob-args | David Heinemeier Hansson | 2014-12-05 | 1 | -0/+8 | |
|\ | | | | | GlobalID objects are logged by their URI, not #inspect on the object, to prevent logging private data | |||||
| * | Only filter GIDable objects; remove cosmetic changes | Ari Pollak | 2014-12-01 | 1 | -10/+10 | |
| | | ||||||
| * | Hide potentially sensitive ActiveJob params from logs | Ari Pollak | 2014-11-28 | 1 | -10/+18 | |
| | | | | | | | | * Show GlobalID instead of full object .inspect output | |||||
* | | Merge pull request #17825 from aripollak/fix-activejob-sidekiq-integration | Rafael Mendonça França | 2014-12-04 | 1 | -1/+2 | |
|\ \ | | | | | | | | | | | | | | | | | | | Fix Sidekiq ActiveJob integration setup Conflicts: activejob/test/support/integration/adapters/sidekiq.rb | |||||
| * | | Fix Sidekiq ActiveJob integration setup | Ari Pollak | 2014-11-28 | 1 | -1/+2 | |
| |/ | | | | | | | | | | | * .connect on a Redis connection wasn't valid * Reset logger after we're done testing for redis connection to avoid "closed stream" error when starting server for real from a fork | |||||
* / | Pass symbol as an argument instead of a block | Erik Michaels-Ober | 2014-11-29 | 2 | -4/+2 | |
|/ | ||||||
* | Add perform_enqueued_jobs | Fábio Luiz Nery de Miranda | 2014-11-25 | 1 | -13/+23 | |
| | | | | | | | | | It will set proper queue_adapter state required by assert_performed_jobs assertions. Also the block version of assert_performed_jobs will make sure this state is respected. Fixes #17684 | |||||
* | Added queue_name_delimiter attribute. | Terry Meacham | 2014-10-26 | 1 | -1/+18 | |
| | | | | | | | | - Added ActiveJob::Base#queue_name_delimiter to allow for developers using ActiveJob to change the delimiter from the default ('_') to whatever else they may be using (e.g., '.', '-', ...). - Updated source guide to include a blurb about the delimiter. | |||||
* | Merge pull request #17343 from vipulnsward/inline-aj-callbacks | Yves Senn | 2014-10-23 | 1 | -16/+13 | |
|\ | | | | | Inline AJ around_perform and around_enqueue in CallbackJob used for tests | |||||
| * | - Inline AJ around_perform and around_enqueue in CallbackJob used for tests. | Vipul A M | 2014-10-21 | 1 | -16/+13 | |
| | | ||||||
* | | :nail_care: fix typos in activejob queuing test | Joe Lewis | 2014-10-22 | 1 | -2/+2 | |
|/ | ||||||
* | - Remove duplication in AJ logging test for setting logger. | Vipul A M | 2014-10-20 | 2 | -3/+1 | |
| | | | | - Remove un-needed require in AJ rescue test. | |||||
* | No need to specify log level, run at log level as all other Rails components. | Vipul A M | 2014-10-20 | 1 | -1/+0 | |
| | ||||||
* | - Removed unused variable warnings from ActiveJob Adapters | Vipul A M | 2014-10-19 | 5 | -5/+5 | |
| | ||||||
* | tests, move `original_` var assignments outside of `begin`. | Yves Senn | 2014-10-10 | 2 | -11/+16 | |
| | ||||||
* | ActiveJob: allow blank queue names | Blake Gentry | 2014-10-09 | 1 | -0/+20 | |
| | | | | | | | As discussed in #17195, Que uses blank queue names by default for performance reasons. At the very least, ActiveJob should allow users to choose "" as their queue name. This commit allows blank queue names, as well as tests to make sure that nil queue names still use the default. | |||||
* | Make AJ integration tests much less verbose | Matthew Draper | 2014-09-27 | 8 | -26/+14 | |
| | | | | In passing, avoid a blind retry in QC: instead, just fix the problem. | |||||
* | Fix string/gid collision in job arguments | Jeremy Kemper | 2014-09-25 | 1 | -3/+11 | |
| | | | | Serialize Global IDs as special objects, distinguishable from Strings | |||||
* | Merge pull request #17005 from y-yagi/fix_aj_test_helper | Yves Senn | 2014-09-23 | 1 | -1/+3 | |
|\ | | | | | | | add message to `assert` in `assert_enqueued_with` | |||||
| * | add message to `assert` in `assert_enqueued_with` | yuuji.yaginuma | 2014-09-23 | 1 | -1/+3 | |
|/ | ||||||
* | Tighten up AJ::Arguments and its tests | Jeremy Kemper | 2014-09-14 | 2 | -77/+76 | |
| | | | | | * Disallow deserialization of non-primitive objects * Broaden coverage; remove superfluous tests | |||||
* | Se the test order of activejob tests | Rafael Mendonça França | 2014-09-12 | 1 | -1/+1 | |
| | ||||||
* | Change gid calls to to_gid | Rafael Mendonça França | 2014-09-12 | 1 | -8/+8 | |
| | ||||||
* | ActiveJob Integration Tests | Cristian Bica | 2014-09-11 | 16 | -1/+574 | |
| | ||||||
* | Active Job refactoring | Cristian Bica | 2014-09-03 | 9 | -74/+107 | |
| | ||||||
* | Fix for double ActiveJob::DeserializationErorr | Cristian Bica | 2014-09-03 | 1 | -0/+5 | |
| | ||||||
* | Merge pull request #16724 from seuros/testcase | Rafael Mendonça França | 2014-09-02 | 2 | -0/+228 | |
|\ | | | | | [ActiveJob] TestCase | |||||
| * | [ActiveJob] TestCase (Will squash before merge) | Abdelkader Boudih | 2014-09-02 | 2 | -4/+2 | |
| | | ||||||
| * | [ActiveJob] TestCase | Abdelkader Boudih | 2014-09-02 | 3 | -54/+24 | |
| | | ||||||
| * | [ActiveJob] TestCase | Abdelkader Boudih | 2014-09-02 | 2 | -0/+260 | |
| | | ||||||
* | | ActiveJob: Implemented enqueue_at for QueueClassic | Cristian Bica | 2014-09-02 | 1 | -0/+12 | |
|/ | ||||||
* | Avoid skipping Sidekiq tests on Rubinius | Robin Dupret | 2014-08-29 | 1 | -8/+2 | |
| | | | | | Now that Travis provides support for Rubinius 2.2.10, we can run the Sidekiq tests against this version. | |||||
* | [ActiveJob] extract JobBuffer from helper | Abdelkader Boudih | 2014-08-29 | 5 | -20/+25 | |
| | ||||||
* | Raise ActiveJob::SerializationError when cannot serialize job arguments | Cristian Bica | 2014-08-24 | 1 | -3/+3 | |
| | ||||||
* | Added enqueue_at support for QueAdapter in ActiveJob | Nicholas Bruning | 2014-08-21 | 2 | -0/+11 | |
| | | | | | * Added inline job runner for Que in test/support * Updated QueAdapter to support enqueue_at | |||||
* | [ActiveJob] Add queue_name_prefix so all queue are prefixed . | Abdelkader Boudih | 2014-08-18 | 1 | -0/+15 | |
| | | | | | | We can split queues on a per environement basis as well as seggregate per application so we can split queues on a per env basis ActiveJob::Base.queue_name_prefix = 'foo' | |||||
* | Fix ActiveJob isolation tests. | Lucas Mazza | 2014-08-17 | 1 | -0/+1 | |
| | ||||||
* | [ActiveJob] raise DeserializationError when got an error deserializing | Cristian Bica | 2014-08-17 | 3 | -0/+15 | |
| | ||||||
* | [ActiveJob] Fix tests for sucker_punch | Abdelkader Boudih | 2014-08-17 | 8 | -12/+32 | |
| | ||||||
* | [ActiveJob] Use globalid gem | Abdelkader Boudih | 2014-08-17 | 2 | -3/+3 | |
| | ||||||
* | Moved AR testing from using global variable to thread variable | Cristian Bica | 2014-08-16 | 7 | -15/+15 | |
| | ||||||
* | ActiveJob: Reworked queue_base_name as default_queue_name + Allow configure ↵ | Cristian Bica | 2014-08-15 | 1 | -5/+5 | |
| | | | | ActiveJob from app.config.active_job | |||||
* | Clean adapter_test.rb and skip test for sidekiq in unsupported rubies | Abdelkader Boudih | 2014-08-13 | 2 | -53/+22 | |
| |