Skip to content

Remove hardcoded IDs from retry_pipeline_worker_spec

What does this MR do and why?

This fixes a flaky test which fails when pipeline.user record created by the ci_pipeline factory just happens to have id 1234. This will pretty much never happen locally, but can happen in CI on GitLab.com.

See #457217 (closed)

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.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports