Skip to content

Resolve "Flaky Test on loose_foreign_keys_spec.rb"

What does this MR do and why?

Fixes flaky spec that would fail if ran in a specific sequence.

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.

How to set up and validate locally

  • Set up the branch locally
  • Run bundle exec rspec spec/lib/gitlab/database/loose_foreign_keys_spec.rb spec/lib/gitlab/database/sharding_key_spec.rb

Related to #438949 (closed)

Edited by Panos Kanellidis

Merge request reports