Skip to content

Commit f14c0f6

Browse files
author
Max Hniebergall
committed
update test to match fix
1 parent 6915d5b commit f14c0f6

File tree

1 file changed

+3
-2
lines changed
  • x-pack/plugin/ml/qa/ml-inference-service-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration

1 file changed

+3
-2
lines changed

x-pack/plugin/ml/qa/ml-inference-service-tests/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/ModelIdUniquenessIT.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ public void testPutInferenceModelFailsWhenTrainedModelWithIdAlreadyExists() thro
2929
assertThat(
3030
e.getMessage(),
3131
Matchers.containsString(
32-
"Model IDs must be unique. Requested model ID [" + modelId + "] matches existing model IDs but must not."
32+
"Inference endpoint IDs must be unique. Requested inference endpoint ID ["
33+
+ modelId
34+
+ "] matches existing trained model ID(s) but must not."
3335
)
34-
3536
);
3637
}
3738

0 commit comments

Comments
 (0)