summaryrefslogtreecommitdiff
path: root/spec/support/redis/redis_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/redis/redis_helpers.rb')
-rw-r--r--spec/support/redis/redis_helpers.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/support/redis/redis_helpers.rb b/spec/support/redis/redis_helpers.rb
index 7c571738a01..b8118bf94cc 100644
--- a/spec/support/redis/redis_helpers.rb
+++ b/spec/support/redis/redis_helpers.rb
@@ -17,4 +17,9 @@ module RedisHelpers
def redis_shared_state_cleanup!
Gitlab::Redis::SharedState.with(&:flushall)
end
+
+ # Usage: CI trace chunks
+ def redis_trace_chunks_cleanup!
+ Gitlab::Redis::TraceChunks.with(&:flushall)
+ end
end