Skip to content

Commit 70be427

Browse files
Fixing test
1 parent ddf6676 commit 70be427

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/services/custom/CustomServiceSettingsTests.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,6 @@ public void testXContent_WithInputTypeTranslationValues() throws IOException {
600600
"string",
601601
new TextEmbeddingResponseParser("$.result.embeddings[*].embedding"),
602602
null,
603-
new ErrorResponseParser("$.error.message", "inference_id"),
604603
new InputTypeTranslator(Map.of(InputType.SEARCH, "do_search", InputType.INGEST, "do_ingest"), "a_default")
605604
);
606605

@@ -618,9 +617,6 @@ public void testXContent_WithInputTypeTranslationValues() throws IOException {
618617
"response": {
619618
"json_parser": {
620619
"text_embeddings": "$.result.embeddings[*].embedding"
621-
},
622-
"error_parser": {
623-
"path": "$.error.message"
624620
}
625621
},
626622
"input_type": {

0 commit comments

Comments
 (0)