Unit test DefaultElasticsearchClientFactoryTest.multipleHosts_failover_fault fails randomly because the timeout is too low

Description

The test DefaultElasticsearchClientFactoryTest.multipleHosts_failover_fault simulates a malformed HTTP response and tests that the failover works correctly in that case. The fault is probably generated randomly, because the tests seem to fail randomly... => I checked, and it's not generated randomly...

See for instance http://ci.hibernate.org/job/hibernate-search-PR/org.hibernate$hibernate-search-elasticsearch/2083/testReport/junit/org.hibernate.search.elasticsearch.test/DefaultElasticsearchClientFactoryTest/multipleHosts_failover_fault/ :

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure