To confirm that QueryRecorder works
What does this MR do and why?
This MR introduces N+1 to confirm that QueryRecorder works as expected. CI should fail for bin/rspec spec/requests/api/members_spec.rb
. For some reasons the following specs do not fail on my environment:
API::Members
behaves like GET /:source_type/:id/members/(all)
with :source_type == projects
avoids N+1 queries
behaves like GET /:source_type/:id/members/(all)
with :source_type == groups
avoids N+1 queries
behaves like GET /:source_type/:id/members/(all)
with :source_type == projects
avoids N+1 queries
behaves like GET /:source_type/:id/members/(all)
with :source_type == groups
avoids N+1 queries
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Edited by Bogdan Denkovych