You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/qa/inference-service-tests/src/javaRestTest/java/org/elasticsearch/xpack/inference/InferenceCrudIT.java
+1-4Lines changed: 1 addition & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -379,10 +379,7 @@ public void testUpdateEndpointWithWrongTaskTypeInURL() throws IOException {
379
379
TaskType.TEXT_EMBEDDING
380
380
)
381
381
);
382
-
assertThat(
383
-
e.getMessage(),
384
-
containsString("Requested task type [text_embedding] does not match the inference endpoint's task type [sparse_embedding]")
385
-
);
382
+
assertThat(e.getMessage(), containsString("Task type must match the task type of the existing endpoint"));
0 commit comments