Commit a6ab8e8b authored by Stan Hu's avatar Stan Hu

Merge branch 'issue#330124-clean_gitlab_redis_shared_state_group_service_spec' into 'master'

Add clean_gitlab_redis_shared_state for group_service_spec

See merge request gitlab-org/gitlab!63086
parents 0da8c6af aeba208f
......@@ -50,7 +50,7 @@ RSpec.describe Search::GroupService do
ensure_elasticsearch_index!
end
context 'finding projects by name', :elastic, :sidekiq_might_not_need_inline do
context 'finding projects by name', :elastic, :clean_gitlab_redis_shared_state, :sidekiq_might_not_need_inline do
subject { results.objects('projects') }
context 'in parent group' do
......@@ -67,7 +67,7 @@ RSpec.describe Search::GroupService do
end
end
context 'notes search', :elastic do
context 'notes search', :elastic, :clean_gitlab_redis_shared_state do
let_it_be(:group) { create(:group) }
let_it_be(:project) { create(:project, namespace: group) }
......@@ -76,7 +76,7 @@ RSpec.describe Search::GroupService do
it_behaves_like 'search query applies joins based on migrations shared examples', :add_permissions_data_to_notes_documents
end
context 'visibility', :elastic_delete_by_query, :sidekiq_inline do
context 'visibility', :elastic_delete_by_query, :clean_gitlab_redis_shared_state, :sidekiq_inline do
include_context 'ProjectPolicyTable context'
shared_examples 'search respects visibility' do
......@@ -331,7 +331,7 @@ RSpec.describe Search::GroupService do
end
end
context 'sorting', :elastic do
context 'sorting', :elastic, :clean_gitlab_redis_shared_state do
context 'issues' do
let(:scope) { 'issues' }
let_it_be(:group) { create(:group) }
......
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