Enable feature flag on build_trace_chunk_spec

This commit is contained in:
Shinya Maeda 2018-05-02 16:20:56 +09:00
parent 4b34c875f7
commit abe87373ab
1 changed files with 4 additions and 0 deletions

View File

@ -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)