Commit 2e2abf5e authored by Abdul Wadood's avatar Abdul Wadood

Add clean_gitlab_redis_shared_state to snippet_search_results_spec.rb

To clear shared redis state
parent 8d4dcf93
......@@ -2,7 +2,7 @@
require 'spec_helper'
RSpec.describe Gitlab::Elastic::SnippetSearchResults, :elastic, :sidekiq_might_not_need_inline do
RSpec.describe Gitlab::Elastic::SnippetSearchResults, :elastic, :clean_gitlab_redis_shared_state, :sidekiq_might_not_need_inline do
let(:snippet) { create(:personal_snippet, title: 'foo', description: 'foo') }
let(:results) { described_class.new(snippet.author, 'foo', []) }
......
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