Commit acebce50 authored by Abdul Wadood's avatar Abdul Wadood

Add clean_gitlab_redis_shared_state to search_controller_spec.rb

To clear shared redis state
parent 8d4dcf93
...@@ -31,7 +31,7 @@ RSpec.describe SearchController, type: :request do ...@@ -31,7 +31,7 @@ RSpec.describe SearchController, type: :request do
end end
describe 'GET /search' do describe 'GET /search' do
context 'when elasticsearch is enabled', :elastic, :sidekiq_inline do context 'when elasticsearch is enabled', :elastic, :clean_gitlab_redis_shared_state, :sidekiq_inline do
before do before do
stub_ee_application_setting(elasticsearch_search: true, elasticsearch_indexing: true) stub_ee_application_setting(elasticsearch_search: true, elasticsearch_indexing: true)
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