Resolve "Flaky spec: "ee/spec/requests/api/namespaces_spec.rb"
requested to merge 11298-flaky-spec-api-namespaces-put-id-gitlab_subscription-when-authenticated-as-an-admin-when into master
What does this MR do and why?
Describe in detail what your merge request does and why.
resolves #11298 (closed)
Assuming that flaky test was due to the hard coded value being present in the test db depending on the order of execution
Using the non_existing_record_id
helper to avoid the above scenario
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #11298 (closed)
Edited by Tarun Vellishetty