Skip to content

Sidekiq warning in test ./spec/controllers/projects_controller_spec.rb

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

When executing ./spec/controllers/projects_controller_spec.rb, there are some sidekiq warning that could be addressed, see list below.

Job arguments to ExternalServiceReactiveCachingWorker must be native JSON types, but VersionCheck is a Class.
Job arguments to Ci::PendingBuilds::UpdateProjectWorker must be native JSON types, but :namespace_traversal_ids is a Symbol.
Job arguments to Search::Elastic::DeleteWorker must be native JSON types, but :task is a Symbol.
Job arguments to Projects::ImportExport::CreateRelationExportsWorker must be native JSON types, but :exported_by_admin is a Symbol.

You can reproduce these sidekiq warnings when executing the test

bundle exec rspec ./spec/controllers/projects_controller_spec.rb

🛠️ with ❤️ at Siemens

Improvements

Risks

Involved components

Optional: Intended side effects

Optional: Missing test coverage

Edited by 🤖 GitLab Bot 🤖