summaryrefslogtreecommitdiff
path: root/spec/support/chunked_io
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-05-04 17:02:08 +0900
committerShinya Maeda <shinya@gitlab.com>2018-05-04 17:02:08 +0900
commit812dd06d512ab7774b375ce45aa9235aafc99911 (patch)
tree34cc187b9a70ad95967dff67f3efa397424b9aee /spec/support/chunked_io
parent47c8e06cefb7396c6f08b9908bd34dd21c8d08b0 (diff)
downloadgitlab-ce-812dd06d512ab7774b375ce45aa9235aafc99911.tar.gz
Introduce Redis helpers. Rename BuildTraceChunkFlushToDbWorker to Ci::BuildTraceChunkFlushWorker.
Diffstat (limited to 'spec/support/chunked_io')
-rw-r--r--spec/support/chunked_io/chunked_io_helpers.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/support/chunked_io/chunked_io_helpers.rb b/spec/support/chunked_io/chunked_io_helpers.rb
index 4238a4b3e94..fec1f951563 100644
--- a/spec/support/chunked_io/chunked_io_helpers.rb
+++ b/spec/support/chunked_io/chunked_io_helpers.rb
@@ -8,9 +8,4 @@ module ChunkedIOHelpers
stub_const('Ci::BuildTraceChunk::CHUNK_SIZE', size)
stub_const('Gitlab::Ci::Trace::ChunkedIO::CHUNK_SIZE', size)
end
-
- def redis_shared_state_outage!
- Gitlab::Redis::SharedState.with(&:flushall)
- Sidekiq.redis(&:flushall)
- end
end