Commit 846734de authored by Erick Banks's avatar Erick Banks

Add longer wait to elasticsearch

parent d34fd321
......@@ -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