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
846734de
Commit
846734de
authored
Jul 21, 2020
by
Erick Banks
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add longer wait to elasticsearch
parent
d34fd321
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
qa/qa/specs/features/ee/api/enablement/elasticsearch/advanced_global_advanced_syntax_search_spec.rb
...sticsearch/advanced_global_advanced_syntax_search_spec.rb
+1
-1
qa/qa/specs/features/ee/api/enablement/elasticsearch/elasticsearch_api_spec.rb
...ee/api/enablement/elasticsearch/elasticsearch_api_spec.rb
+2
-2
qa/qa/specs/features/ee/browser_ui/enablement/elasticsearch/elasticsearch_reindexing_spec.rb
...enablement/elasticsearch/elasticsearch_reindexing_spec.rb
+1
-1
No files found.
qa/qa/specs/features/ee/api/enablement/elasticsearch/advanced_global_advanced_syntax_search_spec.rb
View file @
846734de
...
...
@@ -56,7 +56,7 @@ module QA
private
def
expect_search_to_find_project
(
search_term
)
QA
::
Support
::
Retrier
.
retry_on_exception
(
max_attempts:
10
,
sleep_interval:
6
)
do
QA
::
Support
::
Retrier
.
retry_on_exception
(
max_attempts:
10
,
sleep_interval:
12
)
do
get
Runtime
::
Search
.
create_search_request
(
api_client
,
'projects'
,
search_term
).
url
expect_status
(
QA
::
Support
::
Api
::
HTTP_STATUS_OK
)
...
...
qa/qa/specs/features/ee/api/enablement/elasticsearch/elasticsearch_api_spec.rb
View file @
846734de
...
...
@@ -58,7 +58,7 @@ module QA
end
it
'does not find a blob as an non-member user'
do
QA
::
Support
::
Retrier
.
retry_on_exception
(
max_attempts:
10
,
sleep_interval:
6
)
do
QA
::
Support
::
Retrier
.
retry_on_exception
(
max_attempts:
10
,
sleep_interval:
12
)
do
get
Runtime
::
Search
.
create_search_request
(
non_member_api_client
,
'blobs'
,
project_file_content
).
url
expect_status
(
QA
::
Support
::
Api
::
HTTP_STATUS_OK
)
expect
(
json_body
).
to
be_empty
...
...
@@ -69,7 +69,7 @@ module QA
private
def
successful_search
(
api_client
)
QA
::
Support
::
Retrier
.
retry_on_exception
(
max_attempts:
10
,
sleep_interval:
6
)
do
QA
::
Support
::
Retrier
.
retry_on_exception
(
max_attempts:
10
,
sleep_interval:
12
)
do
get
Runtime
::
Search
.
create_search_request
(
api_client
,
'blobs'
,
project_file_content
).
url
expect_status
(
QA
::
Support
::
Api
::
HTTP_STATUS_OK
)
...
...
qa/qa/specs/features/ee/browser_ui/enablement/elasticsearch/elasticsearch_reindexing_spec.rb
View file @
846734de
...
...
@@ -66,7 +66,7 @@ module QA
menu
.
search_for
content
[
0
..
33
]
end
QA
::
Support
::
Retrier
.
retry_on_exception
(
max_attempts:
10
,
sleep_interval:
6
)
do
QA
::
Support
::
Retrier
.
retry_on_exception
(
max_attempts:
10
,
sleep_interval:
12
)
do
Page
::
Search
::
Results
.
perform
do
|
search
|
search
.
switch_to_code
aggregate_failures
"testing expectations"
do
...
...
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