Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-10-15 18:10:09 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-15 18:10:09 +0300
commit4d8132ee4fdc0c2c9d18a2b319103f5e0b09b35b (patch)
treeb84a2c0133bfd62636d59bc36a4554b427b667ab /spec/support/redis.rb
parente60f8421ac601723f473923a050d5412e8f08314 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/redis.rb')
-rw-r--r--spec/support/redis.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/support/redis.rb b/spec/support/redis.rb
index 946c8685741..421079af8e0 100644
--- a/spec/support/redis.rb
+++ b/spec/support/redis.rb
@@ -46,4 +46,12 @@ RSpec.configure do |config|
redis_rate_limiting_cleanup!
end
+
+ config.around(:each, :clean_gitlab_redis_sessions) do |example|
+ redis_sessions_cleanup!
+
+ example.run
+
+ redis_sessions_cleanup!
+ end
end