Skip to content

Commit baee17a

Browse files
fix rerank service test
1 parent 5a96d79 commit baee17a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public void testGetServicesWithTextEmbeddingTaskType() throws IOException {
111111

112112
public void testGetServicesWithRerankTaskType() throws IOException {
113113
List<Object> services = getServices(TaskType.RERANK);
114-
assertThat(services.size(), equalTo(9));
114+
assertThat(services.size(), equalTo(10));
115115

116116
var providers = providers(services);
117117

@@ -127,7 +127,8 @@ public void testGetServicesWithRerankTaskType() throws IOException {
127127
"jinaai",
128128
"test_reranking_service",
129129
"voyageai",
130-
"hugging_face"
130+
"hugging_face",
131+
"elastic"
131132
).toArray()
132133
)
133134
);

0 commit comments

Comments
 (0)