diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2019-05-21 17:52:06 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2019-05-21 17:52:06 +0000 |
commit | bb6d1572a361a510379eac00f56f2386d1d1850c (patch) | |
tree | fe8abc07fdf12fbde2d762d0d200b753c87b6a82 /spec | |
parent | cd140f931dab2e8e6d454a64b65204836229ac42 (diff) | |
parent | 404a541dbc21b500cbf09c479ee3d2f341106863 (diff) | |
download | gitlab-ce-bb6d1572a361a510379eac00f56f2386d1d1850c.tar.gz |
Merge branch 'mc/bug/pipeline-cache-invalid' into 'master'
Expire pipeline cache on job update
Closes #48024
See merge request gitlab-org/gitlab-ce!28432
Diffstat (limited to 'spec')
-rw-r--r-- | spec/workers/build_finished_worker_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/workers/build_finished_worker_spec.rb b/spec/workers/build_finished_worker_spec.rb index 33f327d4a0c..4adb795b1d6 100644 --- a/spec/workers/build_finished_worker_spec.rb +++ b/spec/workers/build_finished_worker_spec.rb @@ -17,6 +17,7 @@ describe BuildFinishedWorker do expect_any_instance_of(BuildCoverageWorker).to receive(:perform) expect(BuildHooksWorker).to receive(:perform_async) expect(ArchiveTraceWorker).to receive(:perform_async) + expect(ExpirePipelineCacheWorker).to receive(:perform_async) described_class.new.perform(build.id) end |