Fix test for processing pipeline after retrying build
This commit is contained in:
parent
b18afa835b
commit
d147ebf3f8
|
@ -256,7 +256,7 @@ describe Ci::ProcessPipelineService, services: true do
|
||||||
expect(builds.pluck(:name))
|
expect(builds.pluck(:name))
|
||||||
.to contain_exactly('build:1', 'build:2', 'test:1', 'test:2')
|
.to contain_exactly('build:1', 'build:2', 'test:1', 'test:2')
|
||||||
|
|
||||||
Ci::Build.retry(pipeline.builds.find_by(name: 'test:2'))
|
Ci::Build.retry(pipeline.builds.find_by(name: 'test:2')).success
|
||||||
|
|
||||||
expect(builds.pluck(:name)).to contain_exactly(
|
expect(builds.pluck(:name)).to contain_exactly(
|
||||||
'build:1', 'build:2', 'test:1', 'test:2', 'test:2', 'deploy:1', 'deploy:2')
|
'build:1', 'build:2', 'test:1', 'test:2', 'test:2', 'deploy:1', 'deploy:2')
|
||||||
|
|
Loading…
Reference in New Issue