From abe87373ab209c144cf684b57b12262a8df60540 Mon Sep 17 00:00:00 2001 From: Shinya Maeda Date: Wed, 2 May 2018 16:20:56 +0900 Subject: [PATCH] Enable feature flag on build_trace_chunk_spec --- spec/models/ci/build_trace_chunk_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/models/ci/build_trace_chunk_spec.rb b/spec/models/ci/build_trace_chunk_spec.rb index b0ede29669e..99fbba4afa9 100644 --- a/spec/models/ci/build_trace_chunk_spec.rb +++ b/spec/models/ci/build_trace_chunk_spec.rb @@ -10,6 +10,10 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do described_class.new(build: build, chunk_index: chunk_index, data_store: data_store, raw_data: raw_data) end + before do + stub_feature_flags(ci_enable_live_trace: true) + end + describe 'CHUNK_SIZE' do it 'Chunk size can not be changed without special care' do expect(described_class::CHUNK_SIZE).to eq(128.kilobytes)