Skip to content

Fix flaky spec in dependency_resolver_service_spec

Steve Abrams requested to merge 328218-rubygems-flaky-spec into master

What does this MR do?

Fixes the flaky spec in #328218 (closed).

The problem was the test checks the contents of an array that may not always be in the specified order, so we use match_array to fix the problem.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Related to #328218 (closed)

Edited by Steve Abrams

Merge request reports