Merge branch 'live-trace-v2' into live-trace-v2-efficient-destroy-all
This commit is contained in:
commit
ae76f0c3b5
3 changed files with 4 additions and 4 deletions
|
@ -120,7 +120,7 @@ module Ci
|
|||
def schedule_to_db
|
||||
return if db?
|
||||
|
||||
BuildTraceChunkFlushToDBWorker.perform_async(id)
|
||||
BuildTraceChunkFlushToDbWorker.perform_async(id)
|
||||
end
|
||||
|
||||
def fullfilled?
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class BuildTraceChunkFlushToDBWorker
|
||||
class BuildTraceChunkFlushToDbWorker
|
||||
include ApplicationWorker
|
||||
include PipelineQueue
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do
|
|||
let(:value) { 'a' * described_class::CHUNK_SIZE }
|
||||
|
||||
it 'schedules stashing data' do
|
||||
expect(BuildTraceChunkFlushToDBWorker).to receive(:perform_async).once
|
||||
expect(BuildTraceChunkFlushToDbWorker).to receive(:perform_async).once
|
||||
|
||||
subject
|
||||
end
|
||||
|
@ -112,7 +112,7 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do
|
|||
|
||||
context 'when fullfilled chunk size' do
|
||||
it 'does not schedule stashing data' do
|
||||
expect(BuildTraceChunkFlushToDBWorker).not_to receive(:perform_async)
|
||||
expect(BuildTraceChunkFlushToDbWorker).not_to receive(:perform_async)
|
||||
|
||||
subject
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue