summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-05-02 16:20:56 +0900
committerShinya Maeda <shinya@gitlab.com>2018-05-02 16:20:56 +0900
commitabe87373ab209c144cf684b57b12262a8df60540 (patch)
tree150d86e31f257f2af7aec6050894623e3e0bd3ed
parent4b34c875f7166d8bddf57952c3ed46b1291bdf77 (diff)
downloadgitlab-ce-abe87373ab209c144cf684b57b12262a8df60540.tar.gz
Enable feature flag on build_trace_chunk_spec
-rw-r--r--spec/models/ci/build_trace_chunk_spec.rb4
1 files changed, 4 insertions, 0 deletions
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)