Skip to content

Check the uniqueness of the values of pipeline enum

Shinya Maeda requested to merge test-unique-values-of-pipeline-enum into master

What does this MR do?

In the https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23217, we added a new key & value pair to Ci::PipelineEnums. However, the value was actually conflicted with one of the EE specific pairs. Luckily, there was one spec (only one!) failed because of the conflict, however, if we didn't notice, we'd have to go down a tough path to correct the data integrity by shipping another database migration.

We should check the uniqueness of the enum values.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by Shinya Maeda

Merge request reports