From c4f3e7a2e97b6b845cfd36661c6acc029d3d8d44 Mon Sep 17 00:00:00 2001 From: Mike Pellegrini Date: Wed, 26 Nov 2025 09:14:14 -0500 Subject: [PATCH] Re-Enable New Semantic Text Format in ShardBulkInferenceActionFilter Tests (#138628) --- .../action/filter/ShardBulkInferenceActionFilterTests.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/action/filter/ShardBulkInferenceActionFilterTests.java b/x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/action/filter/ShardBulkInferenceActionFilterTests.java index a67dc48b47c88..ad6d672ab8278 100644 --- a/x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/action/filter/ShardBulkInferenceActionFilterTests.java +++ b/x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/action/filter/ShardBulkInferenceActionFilterTests.java @@ -133,9 +133,7 @@ public ShardBulkInferenceActionFilterTests(boolean useLegacyFormat) { @ParametersFactory public static Iterable parameters() throws Exception { - List lst = new ArrayList<>(); - lst.add(new Object[] { true }); - return lst; + return List.of(new Object[] { true }, new Object[] { false }); } @Before