Fix inital test failures
This commit is contained in:
parent
93386411a0
commit
edc936cde2
2 changed files with 8 additions and 5 deletions
|
@ -4,10 +4,12 @@ module Ci
|
|||
return if job.job_artifacts_trace
|
||||
|
||||
job.trace.read do |stream|
|
||||
job.create_job_artifacts_trace!(
|
||||
project: job.project,
|
||||
file_type: :trace,
|
||||
file: stream) if stream.file?
|
||||
if stream.file?
|
||||
job.create_job_artifacts_trace!(
|
||||
project: job.project,
|
||||
file_type: :trace,
|
||||
file: stream)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -17,7 +17,8 @@ describe Ci::RetryBuildService do
|
|||
%i[id status user token coverage trace runner artifacts_expire_at
|
||||
artifacts_file artifacts_metadata artifacts_size created_at
|
||||
updated_at started_at finished_at queued_at erased_by
|
||||
erased_at auto_canceled_by job_artifacts job_artifacts_archive job_artifacts_metadata].freeze
|
||||
erased_at auto_canceled_by job_artifacts job_artifacts_archive
|
||||
job_artifacts_metadata job_artifacts_trace].freeze
|
||||
|
||||
IGNORE_ACCESSORS =
|
||||
%i[type lock_version target_url base_tags trace_sections
|
||||
|
|
Loading…
Reference in a new issue