Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-07-05 04:56:15 +0300
committerShinya Maeda <shinya@gitlab.com>2018-07-05 04:56:15 +0300
commit254134fbb5557caa95c93876a4131c1c5afaf91f (patch)
tree639cf7bd4ec217ce6f2cc38e508176eefaeedc72 /spec/workers
parent68d5793985d36fc649cf7bc0e81b5ef988bca8b1 (diff)
Prevent WRITE opetaions if it's already archived
Diffstat (limited to 'spec/workers')
-rw-r--r--spec/workers/ci/archive_traces_cron_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/ci/archive_traces_cron_worker_spec.rb b/spec/workers/ci/archive_traces_cron_worker_spec.rb
index d9613671cf3..23f5dda298a 100644
--- a/spec/workers/ci/archive_traces_cron_worker_spec.rb
+++ b/spec/workers/ci/archive_traces_cron_worker_spec.rb
@@ -31,7 +31,7 @@ describe Ci::ArchiveTracesCronWorker do
it_behaves_like 'archives trace'
context 'when a trace had already been archived' do
- let!(:build) { create(:ci_build, :success, :trace_artifact, :trace_live) }
+ let!(:build) { create(:ci_build, :success, :trace_live, :trace_artifact) }
let!(:build2) { create(:ci_build, :success, :trace_live) }
it 'continues to archive live traces' do