Skip to content

Fix Sidekiq testing API warnings in Rake tasks

Stan Hu requested to merge sh-fix-sidekiq-testing into master

Running any Rake task would show:

️ WARNING: Sidekiq testing API enabled, but this is not the test environment. Your jobs will not go to Redis.

To fix this, we move the require statement into the import task. Now this message only shows when running the import job.

Closes #38377 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports