Skip to content

Use an exisiting builds metadata partition for tests

What does this MR do and why?

It reloads the pipeline objects between tests so that the changes to the object do not affect next tests and replace the partition_id value with one for which we have a partition.

How to set up and validate locally

bundle exec rspec spec/services/ci/pipelines/add_job_service_spec.rb --seed 59378

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Marius Bobin

Merge request reports