Skip to content

Resolve "Flaky spec: "ee/spec/requests/api/namespaces_spec.rb"

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.

Related to #11298 (closed)

Edited by Tarun Vellishetty

Merge request reports