diff --git a/muted-tests.yml b/muted-tests.yml index 22f091c559c7e..69d7caf9d0a00 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -489,9 +489,6 @@ tests: - class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT method: test {lookup-join.MvJoinKeyOnFrom SYNC} issue: https://github.com/elastic/elasticsearch/issues/130296 -- class: org.elasticsearch.xpack.esql.inference.bulk.BulkInferenceExecutorTests - method: testSuccessfulExecution - issue: https://github.com/elastic/elasticsearch/issues/130306 - class: org.elasticsearch.test.rest.yaml.RcsCcsCommonYamlTestSuiteIT method: test {p0=msearch/20_typed_keys/Multisearch test with typed_keys parameter for sampler and significant terms} issue: https://github.com/elastic/elasticsearch/issues/130472 diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutorTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutorTests.java index 7e44c681c6fc4..713f22e4381df 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutorTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/inference/bulk/BulkInferenceExecutorTests.java @@ -47,7 +47,7 @@ public void setThreadPool() { new FixedExecutorBuilder( Settings.EMPTY, EsqlPlugin.ESQL_WORKER_THREAD_POOL_NAME, - between(1, 20), + between(4, 20), 1024, "esql", EsExecutors.TaskTrackingConfig.DEFAULT @@ -61,7 +61,7 @@ public void shutdownThreadPool() { } public void testSuccessfulExecution() throws Exception { - List requests = randomInferenceRequestList(between(1, 1000)); + List requests = randomInferenceRequestList(between(1, 100)); List responses = randomInferenceResponseList(requests.size()); InferenceRunner inferenceRunner = mockInferenceRunner(invocation -> { @@ -93,7 +93,7 @@ public void testSuccessfulExecutionOnEmptyRequest() throws Exception { } public void testInferenceRunnerAlwaysFails() throws Exception { - List requests = randomInferenceRequestList(between(1, 1000)); + List requests = randomInferenceRequestList(between(1, 100)); InferenceRunner inferenceRunner = mock(invocation -> { runWithRandomDelay(() -> { @@ -115,7 +115,7 @@ public void testInferenceRunnerAlwaysFails() throws Exception { } public void testInferenceRunnerSometimesFails() throws Exception { - List requests = randomInferenceRequestList(between(1, 1000)); + List requests = randomInferenceRequestList(between(1, 100)); InferenceRunner inferenceRunner = mockInferenceRunner(invocation -> { ActionListener listener = invocation.getArgument(1);