Skip to content

Fix `project_tree_restorer_spec` flakiness

What does this MR do?

Fix flaky spec.

The reason for flakiness:
In !18024 (merged), we added an additional Pipeline into the project.json import fixture: !18024 (diffs)

This pipeline has 0 stages, and not 2, like all others.

In the test, we are fetching @project.ci_pipelines where the order is not deterministic, which should be changed.

Does this MR meet the acceptance criteria?

Conformity

Closes #35323 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports