Add a test to indicate/ ensure that flask is performing retries  …
Add a test to indicate/ ensure that flask is performing retries  …

The retry functionality is buried in the elasticsearch.transport.Transport class and
can be effected by passing max_retries to the elasticsearch.client.ElasticSearch object
(https://github.com/elastic/elasticsearch-py/blob/master/elasticsearch/client/__init__.py#L184)
or the flask_elasticsearch.FlaskElasticsearch.init_app method. This test is an attempt
to surface this behaviour.

alphagov/digitalmarketplace-search-api,alphagov/digitalmarketplace-search-api