Improve slow tests in ./ee/spec/requests/api/search_spec.rb
Summary
The total running time of ./ee/spec/requests/api/search_spec.rb is 519.05 seconds and it executes 49949 queries. It is likely this can be improved. Please review this suite or example for opportunities to fix slow tests.
Description
This issue was generated from the
rspec profiling project
which profiles rspec tests in pipelines run against the default branch on
gitlab-org/gitlab
.