Skip to content

Fix flaky EE::API::Entities::MemberRole spec

Hinam Mehra requested to merge 447504-fix-member-role-flaky-spec into master

What does this MR do and why?

  • Follows from #447504 (closed)
  • In the failed jobs, the error is consistently Validation failed: Cannot create a member role with no enabled permissions, which is why I have updated this spec to use let_it_be when creating a member role and to explicitly create the role with the read_code permission.
  • However, unable to reproduce the flakiness locally, even with a randomised seed.

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.

Related to #447504 (closed)

Merge request reports

Loading