Commit 29429392 authored by Nick Thomas's avatar Nick Thomas

Merge branch '63710-fix-redis-namespace-warning' into 'master'

Trigger flushdb in a way that redis-namespace is happy with

Closes #63710

See merge request gitlab-org/gitlab-ce!30039
parents 069cd1ca b69890a3
...@@ -30,6 +30,8 @@ RSpec.configure do |config| ...@@ -30,6 +30,8 @@ RSpec.configure do |config|
end end
config.after(:each, :sidekiq, :redis) do config.after(:each, :sidekiq, :redis) do
Sidekiq.redis { |redis| redis.flushdb } Sidekiq.redis do |connection|
connection.redis.flushdb
end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment