-
Notifications
You must be signed in to change notification settings - Fork 600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test ActiveJob perform_all_later
#2330
Conversation
Release 9.3.0
Release 9.3.1
Release 9.4.0
Release 9.4.1
Release 9.4.2
Release 9.5.0
Release 9.6.0
SimpleCov Report
|
skip if Gem::Version.new(Rails::VERSION::STRING) < Gem::Version.new('7.1.0') | ||
|
||
in_web_transaction do | ||
ActiveJob.perform_all_later(MyJob.new) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docs for this method make it sound like the method is intended for multiple jobs. Would you mind adding a test that looks at how the agent behaves when multiple jobs are given to perform_all_later
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great call out! Updated the test to include multiple jobs.
Add test for ActiveJob
perform_all_later
, introduced in Rails 7.1.0.Closes #2222