This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

Commit d78ad6e9 authored by Shinya Maeda's avatar Shinya Maeda
Browse files

Merge branch 'live-trace-v2' into live-trace-v2-schedule-db-when-job-done

...@@ -90,7 +90,7 @@ def use_database! ...@@ -90,7 +90,7 @@ def use_database!
def schedule_to_db def schedule_to_db
return if db? return if db?
SwapTraceChunkWorker.perform_async(id) BuildTraceSwapChunkWorker.perform_async(id)
end end
def fullfilled? def fullfilled?
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
- pipeline_processing:pipeline_update - pipeline_processing:pipeline_update
- pipeline_processing:stage_update - pipeline_processing:stage_update
- pipeline_processing:update_head_pipeline_for_merge_request - pipeline_processing:update_head_pipeline_for_merge_request
- pipeline_processing:swap_trace_chunk - pipeline_processing:build_trace_swap_chunk
- repository_check:repository_check_clear - repository_check:repository_check_clear
- repository_check:repository_check_single_repository - repository_check:repository_check_single_repository
......
class SwapTraceChunkWorker class BuildTraceSwapChunkWorker
include ApplicationWorker include ApplicationWorker
include PipelineQueue include PipelineQueue
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
let(:value) { 'a' * described_class::CHUNK_SIZE } let(:value) { 'a' * described_class::CHUNK_SIZE }
it 'schedules stashing data' do it 'schedules stashing data' do
expect(SwapTraceChunkWorker).to receive(:perform_async).once expect(BuildTraceSwapChunkWorker).to receive(:perform_async).once
subject subject
end end
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
context 'when fullfilled chunk size' do context 'when fullfilled chunk size' do
it 'does not schedule stashing data' do it 'does not schedule stashing data' do
expect(SwapTraceChunkWorker).not_to receive(:perform_async) expect(BuildTraceSwapChunkWorker).not_to receive(:perform_async)
subject subject
end end
......
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