Skip to content

Wait for elasticsearch server before searching

Mark Lapierre requested to merge 43732-fix-elasticsearch-qa-test into master

What does this MR do?

Checks for a valid search response via the API using an elasticsearch-only scope. Checks 3 times and raises an exception if unable to search.

This gives the elasticsearch server time to be ready for the the index to be created before the first test.

Waiting for a response takes time, so it should be enough to make 3 attempts with the default interval between attempts.

Closes #43732 (closed)

Does this MR meet the acceptance criteria?

Conformity

Merge request reports