query.fetchTotalHitCounts always fails when setting a timeout with Elasticsearch

Description

It seems our only test succeeds because we set a very low client-side timeout, and we time out on the client side before even getting the response from Elasticsearch. But the response from Elasticsearch actually indicates that we're passing wrong parameters (see below).

I thing we missed this because there is no test named "timeout_fastCount_largeTimeout" in SearchQueryTimeoutIT.

Environment

None

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Major
Configure