Skip to content

Commit 1182fba

Browse files
author
Max Hniebergall
committed
Update tests
1 parent 03b5d45 commit 1182fba

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);
@@ -548,8 +548,8 @@ private static String expectedResult(String input) {
548548
}
549549
}
550550

551-
public void testGetZeroModels() throws IOException {
551+
public void testGetCompletionModels() throws IOException {
552552
var models = getModels("_all", TaskType.COMPLETION);
553-
assertThat(models, empty());
553+
assertEquals(models.size(), 1);
554554
}
555555
}

0 commit comments

Comments
 (0)