Commit 0f685998 authored by Stan Hu's avatar Stan Hu

Merge branch '346693-fix-cleanup-rake-spec' into 'master'

Fix cleanup rake spec by adding clear_pool in after do block

See merge request gitlab-org/gitlab!75467
parents 6d995f16 4633438f
......@@ -10,6 +10,10 @@ RSpec.describe Gitlab::Redis::Sessions do
clear_pool
end
after do
clear_pool
end
context 'when redis.sessions configuration is not provided' do
it 'uses ::Redis instance' do
expect(described_class).to receive(:config_fallback?).and_return(true)
......
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