Fix transient failures in DefaultElasticsearchClientFactoryTest.discovery

Description

The test seems to fail sometimes, though not often, with the following stack trace:

Environment

None

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Minor
Configure