Skip to content

Commit 8a28093

Browse files
committed
Fix compilation errors
1 parent 3349168 commit 8a28093

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/action/filter/ShardBulkInferenceActionFilterTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ public void testIndexingPressure() throws Exception {
533533
addSemanticTextInferenceResults(
534534
useLegacyFormat,
535535
doc5Source,
536-
List.of(randomSemanticText(useLegacyFormat, "sparse_field", sparseModel, List.of("a test value"), XContentType.JSON))
536+
List.of(randomSemanticText(useLegacyFormat, "sparse_field", sparseModel, null, List.of("a test value"), XContentType.JSON))
537537
);
538538
doc5Source.endObject();
539539
}
@@ -582,9 +582,9 @@ public void testIndexingPressure() throws Exception {
582582

583583
Map<String, InferenceFieldMetadata> inferenceFieldMap = Map.of(
584584
"sparse_field",
585-
new InferenceFieldMetadata("sparse_field", sparseModel.getInferenceEntityId(), new String[] { "sparse_field" }),
585+
new InferenceFieldMetadata("sparse_field", sparseModel.getInferenceEntityId(), new String[] { "sparse_field" }, null),
586586
"dense_field",
587-
new InferenceFieldMetadata("dense_field", denseModel.getInferenceEntityId(), new String[] { "dense_field" })
587+
new InferenceFieldMetadata("dense_field", denseModel.getInferenceEntityId(), new String[] { "dense_field" }, null)
588588
);
589589

590590
BulkItemRequest[] items = new BulkItemRequest[10];
@@ -667,7 +667,7 @@ public void testIndexingPressureTripsOnEstimatedInferenceBytes() throws Exceptio
667667

668668
Map<String, InferenceFieldMetadata> inferenceFieldMap = Map.of(
669669
"sparse_field",
670-
new InferenceFieldMetadata("sparse_field", sparseModel.getInferenceEntityId(), new String[] { "sparse_field" })
670+
new InferenceFieldMetadata("sparse_field", sparseModel.getInferenceEntityId(), new String[] { "sparse_field" }, null)
671671
);
672672

673673
BulkItemRequest[] items = new BulkItemRequest[3];

0 commit comments

Comments
 (0)