Skip to content

Commit 7f30987

Browse files
committed
Fix ElasticSearch vector store ITs
- Use Spring Boot 4.0 compatible "elasticsearch:9.2.0" for the ElasticSearch testcontainer docker image Signed-off-by: Ilayaperumal Gopinathan <[email protected]>
1 parent ad07a81 commit 7f30987

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

auto-configurations/vector-stores/spring-ai-autoconfigure-vector-store-elasticsearch/src/test/java/org/springframework/ai/vectorstore/elasticsearch/autoconfigure/ElasticsearchVectorStoreAutoConfigurationIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class ElasticsearchVectorStoreAutoConfigurationIT {
5757

5858
@Container
5959
private static final ElasticsearchContainer elasticsearchContainer = new ElasticsearchContainer(
60-
"docker.elastic.co/elasticsearch/elasticsearch:9.2.0")
60+
"elasticsearch:9.2.0")
6161
.withEnv("xpack.security.enabled", "false");
6262

6363
private final ApplicationContextRunner contextRunner = new ApplicationContextRunner()

vector-stores/spring-ai-elasticsearch-store/src/test/java/org/springframework/ai/vectorstore/elasticsearch/ElasticsearchImage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424
public final class ElasticsearchImage {
2525

26-
public static final DockerImageName DEFAULT_IMAGE = DockerImageName.parse("elasticsearch:8.18.1");
26+
public static final DockerImageName DEFAULT_IMAGE = DockerImageName.parse("elasticsearch:9.2.0");
2727

2828
private ElasticsearchImage() {
2929

0 commit comments

Comments
 (0)