Skip to content

Don't hardcode IDs in migration spec

Rémy Coutable requested to merge improve-flaky-migration-spec into master

What does this MR do?

The spec would fail sporadically without retries, e.g. https://gitlab.com/gitlab-org/gitlab/-/jobs/428114806:

1740      # PG::UniqueViolation:
1741      #   ERROR:  duplicate key value violates unique constraint "services_pkey"
1742      #   DETAIL:  Key (id)=(17) already exists.
Edited by Rémy Coutable

Merge request reports

Loading