Commit d70ffbc1 authored by Mark Lapierre's avatar Mark Lapierre

Merge branch 'egb-es-add-wait' into 'master'

Add longer wait to elasticsearch end-to-end tests

Closes #221251

See merge request gitlab-org/gitlab!37497
parents df37bae5 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)
......
......@@ -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)
......
......@@ -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
......
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