Commit 4633438f authored by Fu Zhang's avatar Fu Zhang Committed by Stan Hu

Fix cleanup rake spec by adding clear_pool in after do block

parent 6d995f16
......@@ -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