[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 13.236 s <<< FAILURE! - in org.hibernate.search.integrationtest.backend.tck.search.query.SearchQueryTimeoutIT
[ERROR] timeout_slowCount_smallTimeout_raiseAnException(org.hibernate.search.integrationtest.backend.tck.search.query.SearchQueryTimeoutIT) Time elapsed: 3.574 s <<< FAILURE!
java.lang.AssertionError:
[Exception thrown by 'org.hibernate.search.integrationtest.backend.tck.search.query.SearchQueryTimeoutIT$$Lambda$2705/1907591953@1a2d8488']
Expecting:
<org.hibernate.search.util.common.SearchException: HSEARCH400007: Elasticsearch request failed: HSEARCH400090: Elasticsearch response indicates a failure.
Request: GET /indexname/_count with parameters {timeout=1nanos, allow_partial_search_results=false}
Response: 400 'Bad Request' with body
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "request [/indexname/_count] contains unrecognized parameters: [allow_partial_search_results], [timeout]"
}
],
"type": "illegal_argument_exception",
"reason": "request [/indexname/_count] contains unrecognized parameters: [allow_partial_search_results], [timeout]"
},
"status": 400
}
>
to be an instance of:
<org.hibernate.search.util.common.SearchTimeoutException>
but was:
<"org.hibernate.search.util.common.SearchException: HSEARCH400007: Elasticsearch request failed: HSEARCH400090: Elasticsearch response indicates a failure.
Request: GET /indexname/_count with parameters {timeout=1nanos, allow_partial_search_results=false}
Response: 400 'Bad Request' with body
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "request [/indexname/_count] contains unrecognized parameters: [allow_partial_search_results], [timeout]"
}
],
"type": "illegal_argument_exception",
"reason": "request [/indexname/_count] contains unrecognized parameters: [allow_partial_search_results], [timeout]"
},
"status": 400
}
at org.hibernate.search.backend.elasticsearch.work.impl.AbstractSimpleElasticsearchWork.handleResult(AbstractSimpleElasticsearchWork.java:126)
at org.hibernate.search.backend.elasticsearch.work.impl.AbstractSimpleElasticsearchWork.lambda$execute$3(AbstractSimpleElasticsearchWork.java:89)
at java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:981)
at java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2124)
at org.hibernate.search.backend.elasticsearch.work.impl.AbstractSimpleElasticsearchWork.execute(AbstractSimpleElasticsearchWork.java:89)
at org.hibernate.search.backend.elasticsearch.orchestration.impl.ElasticsearchDefaultWorkSequenceBuilder.lambda$addNonBulkExecution$2(ElasticsearchDefaultWorkSequenceBuilder.java:82)
at org.hibernate.search.util.common.impl.Futures.lambda$safeComposer$5(Futures.java:134)
at java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:981)
at java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2124)
at org.hibernate.search.backend.elasticsearch.orchestration.impl.ElasticsearchDefaultWorkSequenceBuilder.addNonBulkExecution(ElasticsearchDefaultWorkSequenceBuilder.java:80)
at org.hibernate.search.backend.elasticsearch.orchestration.impl.ElasticsearchParallelWorkProcessor$BulkAndSequenceAggregator.addNonBulkable(ElasticsearchParallelWorkProcessor.java:112)
at org.hibernate.search.backend.elasticsearch.work.impl.AbstractSimpleElasticsearchWork.aggregate(AbstractSimpleElasticsearchWork.java:107)
at org.hibernate.search.backend.elasticsearch.orchestration.impl.ElasticsearchParallelWorkProcessor.submit(ElasticsearchParallelWorkProcessor.java:50)
at org.hibernate.search.backend.elasticsearch.orchestration.impl.ElasticsearchSingleWorkSet.submitTo(ElasticsearchSingleWorkSet.java:26)
at org.hibernate.search.backend.elasticsearch.orchestration.impl.ElasticsearchSingleWorkSet.submitTo(ElasticsearchSingleWorkSet.java:14)
at org.hibernate.search.engine.backend.orchestration.spi.BatchingExecutor.processBatch(BatchingExecutor.java:191)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.hibernate.search.util.common.SearchException: HSEARCH400090: Elasticsearch response indicates a failure.
at org.hibernate.search.backend.elasticsearch.work.impl.DefaultElasticsearchRequestSuccessAssessor.checkSuccess(DefaultElasticsearchRequestSuccessAssessor.java:103)
at org.hibernate.search.backend.elasticsearch.work.impl.DefaultElasticsearchRequestSuccessAssessor.checkSuccess(DefaultElasticsearchRequestSuccessAssessor.java:86)
at org.hibernate.search.backend.elasticsearch.work.impl.AbstractSimpleElasticsearchWork.handleResult(AbstractSimpleElasticsearchWork.java:113)
... 20 more
">
at org.hibernate.search.integrationtest.backend.tck.search.query.SearchQueryTimeoutIT.timeout_slowCount_smallTimeout_raiseAnException(SearchQueryTimeoutIT.java:107)