Skip to content

Commit 5d430eb

Browse files
author
Max Hniebergall
committed
Update tests
1 parent 59c8791 commit 5d430eb

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void testCRUD() throws IOException {
5858
}
5959

6060
var getAllModels = getAllModels();
61-
int numModels = 12;
61+
int numModels = 13;
6262
assertThat(getAllModels, hasSize(numModels));
6363

6464
var getSparseModels = getModels("_all", TaskType.SPARSE_EMBEDDING);
@@ -543,8 +543,8 @@ private static String expectedResult(String input) {
543543
}
544544
}
545545

546-
public void testGetZeroModels() throws IOException {
546+
public void testGetCompletionModels() throws IOException {
547547
var models = getModels("_all", TaskType.COMPLETION);
548-
assertThat(models, empty());
548+
assertEquals(models.size(), 1);
549549
}
550550
}

0 commit comments

Comments
 (0)