rails/activejob/test
Alex Ghiculescu 639dab59dc Active Job: async adapter should always run jobs immediately if immediate set
This is an internal fix, not user facing. I noticed it while working on https://github.com/rails/rails/pull/48585.

The `async` adapter has an `immediate` option, which should only be used in tests. This option should tell the adapter to run jobs inline. This works correctly with `perform_later`, but it does not work with `enqueue_at`, which is what other internal mechanisms such as `retry_job` use.

This PR fixes this bug.
2023-07-03 09:02:51 +10:00
..
adapters Remove QueAdapter from Active Job 2022-09-12 22:31:10 +09:00
cases Active Job: async adapter should always run jobs immediately if immediate set 2023-07-03 09:02:51 +10:00
integration Add perform_all_later to enqueue multiple jobs at once 2023-02-02 16:39:22 -05:00
jobs [ActiveJob] Add logging for enqueue_all 2023-04-04 13:18:19 +03:00
models [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
support Active Job: async adapter should always run jobs immediately if immediate set 2023-07-03 09:02:51 +10:00
helper.rb Active Job: async adapter should always run jobs immediately if immediate set 2023-07-03 09:02:51 +10:00