diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-05-04 17:02:08 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-05-04 17:02:08 +0900 |
commit | 812dd06d512ab7774b375ce45aa9235aafc99911 (patch) | |
tree | 34cc187b9a70ad95967dff67f3efa397424b9aee /spec/support/chunked_io | |
parent | 47c8e06cefb7396c6f08b9908bd34dd21c8d08b0 (diff) | |
download | gitlab-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.rb | 5 |
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 |