Skip to content

Improve specs to remove flakiness in PolicyCommitService

What does this MR do and why?

This MR resolves flaky tests identified in #444734 (comment 1885737627) and #444720 (comment 1885739180). In specific scenarios previously used default value for branch_name might be the same for next examples in the spec causing these tests to fail.

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.

Merge request reports