Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
aeba208f
Commit
aeba208f
authored
Jun 02, 2021
by
Huzaifa Iftikhar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add clean_gitlab_redis_shared_state for group_service_spec
parent
909dee38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ee/spec/services/search/group_service_spec.rb
ee/spec/services/search/group_service_spec.rb
+4
-4
No files found.
ee/spec/services/search/group_service_spec.rb
View file @
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
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment