Skip to content

Commit 9861209

Browse files
Fixing tests
1 parent 8c1b7f1 commit 9861209

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
import static org.elasticsearch.xpack.inference.InferenceBaseRestTest.assertStatusOkOrCreated;
2222
import static org.hamcrest.Matchers.containsInAnyOrder;
23-
import static org.hamcrest.Matchers.equalTo;
2423

2524
public class InferenceGetServicesIT extends BaseMockEISAuthServerTest {
2625

@@ -76,9 +75,6 @@ private Iterable<String> providers(List<Object> services) {
7675
}
7776

7877
public void testGetServicesWithTextEmbeddingTaskType() throws IOException {
79-
List<Object> services = getServices(TaskType.TEXT_EMBEDDING);
80-
assertThat(services.size(), equalTo(18));
81-
8278
assertThat(
8379
providersFor(TaskType.TEXT_EMBEDDING),
8480
containsInAnyOrder(
@@ -130,10 +126,6 @@ public void testGetServicesWithRerankTaskType() throws IOException {
130126
}
131127

132128
public void testGetServicesWithCompletionTaskType() throws IOException {
133-
List<Object> services = getServices(TaskType.COMPLETION);
134-
assertThat(services.size(), equalTo(17));
135-
var providers = providers(services);
136-
137129
assertThat(
138130
providersFor(TaskType.COMPLETION),
139131
containsInAnyOrder(

0 commit comments

Comments
 (0)