Failures in spec/requests/search_controller_spec.rb:20

This test spec/requests/search_controller_spec.rb:20 can only pass with rspec-retry, failing with: https://gitlab.com/gitlab-org/gitlab/-/jobs/6331334929

Failures:
  1) SearchController GET /search for merge_requests scope behaves like an efficient database result avoids N+1 database queries
     Failure/Error: expect { send_search_request(params) }.not_to exceed_all_query_limit(control).with_threshold(threshold)
       Expected a maximum of 28 (+4) queries, got 33:
...
...
     Shared Example Group: "an efficient database result" called from ./spec/requests/search_controller_spec.rb:84
     # ./spec/requests/search_controller_spec.rb:32:in `block (3 levels) in <top (required)>'

It's quarantined in !145653 (merged)