Skip to content

Fix flaky provisioningSteps test

What does this MR do and why?

This MR fixes the flaky test reported in #444722. The cause was the use of sub instead of gsub/tr, meaning that anytime that multiple underscores appeared in a runner token, only the first one was replaced and the the deployment name was considered invalid.

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.

n/a

How to set up and validate locally

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

n/a

Merge request reports