diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-07-05 04:56:15 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-07-05 04:56:15 +0300 |
commit | 254134fbb5557caa95c93876a4131c1c5afaf91f (patch) | |
tree | 639cf7bd4ec217ce6f2cc38e508176eefaeedc72 /spec/workers/ci | |
parent | 68d5793985d36fc649cf7bc0e81b5ef988bca8b1 (diff) |
Prevent WRITE opetaions if it's already archived
Diffstat (limited to 'spec/workers/ci')
-rw-r--r-- | spec/workers/ci/archive_traces_cron_worker_spec.rb | 2 |
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 |