Commit c1d3b48c authored by Shinya Maeda's avatar Shinya Maeda 💍

Change BuildTraceChunkFlushWorker's queue from pipeline_processing to pipeline_background

parent 8b47980e
Pipeline #21516570 passed with stages
in 31 minutes and 35 seconds
......@@ -52,6 +52,7 @@
- pipeline_creation:create_pipeline
- pipeline_creation:run_pipeline_schedule
- pipeline_background:archive_trace
- pipeline_background:ci_build_trace_chunk_flush
- pipeline_default:build_coverage
- pipeline_default:build_trace_sections
- pipeline_default:pipeline_metrics
......@@ -66,7 +67,6 @@
- pipeline_processing:pipeline_update
- pipeline_processing:stage_update
- pipeline_processing:update_head_pipeline_for_merge_request
- pipeline_processing:ci_build_trace_chunk_flush
- repository_check:repository_check_clear
- repository_check:repository_check_single_repository
......
module Ci
class BuildTraceChunkFlushWorker
include ApplicationWorker
queue_namespace :pipeline_processing
include PipelineBackgroundQueue
def perform(build_trace_chunk_id)
::Ci::BuildTraceChunk.find_by(id: build_trace_chunk_id).try do |build_trace_chunk|
......
......@@ -901,7 +901,7 @@ describe API::Runner, :clean_gitlab_redis_shared_state do
context 'when we resend full trace' do
before do
patch_the_trace('BUILD TRACE appended appended hello')
patch_the_trace('BUILD TRACE appended appended hello', headers.merge({ 'Content-Range' => "0-32" }))
end
it 'succeeds with updating trace' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment