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
02eaf477
Commit
02eaf477
authored
Jun 03, 2021
by
Abdul Wadood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add clean_gitlab_redis_shared_state to search_spec.rb
To clear shared redis state
parent
8d4dcf93
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ee/spec/requests/api/search_spec.rb
ee/spec/requests/api/search_spec.rb
+3
-3
No files found.
ee/spec/requests/api/search_spec.rb
View file @
02eaf477
...
...
@@ -355,7 +355,7 @@ RSpec.describe API::Search, factory_default: :keep do
it_behaves_like
'elasticsearch disabled'
end
context
'when elasticsearch is enabled'
,
:elastic
do
context
'when elasticsearch is enabled'
,
:elastic
,
:clean_gitlab_redis_shared_state
do
before
do
stub_ee_application_setting
(
elasticsearch_search:
true
,
elasticsearch_indexing:
true
)
end
...
...
@@ -393,7 +393,7 @@ RSpec.describe API::Search, factory_default: :keep do
it_behaves_like
'elasticsearch disabled'
end
context
'when elasticsearch is enabled'
,
:elastic
do
context
'when elasticsearch is enabled'
,
:elastic
,
:clean_gitlab_redis_shared_state
do
before
do
stub_ee_application_setting
(
elasticsearch_search:
true
,
elasticsearch_indexing:
true
)
end
...
...
@@ -496,7 +496,7 @@ RSpec.describe API::Search, factory_default: :keep do
it_behaves_like
'search enabled'
end
context
'when elasticsearch is enabled'
,
:elastic
do
context
'when elasticsearch is enabled'
,
:elastic
,
:clean_gitlab_redis_shared_state
do
before
do
stub_ee_application_setting
(
elasticsearch_search:
true
,
elasticsearch_indexing:
true
)
end
...
...
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