diff --git a/boot-opensearch-sample/docker/docker-compose.yml b/boot-opensearch-sample/docker/docker-compose.yml index bec0360d4..8184deda3 100644 --- a/boot-opensearch-sample/docker/docker-compose.yml +++ b/boot-opensearch-sample/docker/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.8' services: opensearch: - image: opensearchproject/opensearch:1.3.13 + image: opensearchproject/opensearch:2.9.0 container_name: opensearch hostname: opensearch ports: diff --git a/boot-opensearch-sample/src/test/java/com/example/opensearch/common/ContainersConfig.java b/boot-opensearch-sample/src/test/java/com/example/opensearch/common/ContainersConfig.java index c77861aca..bef58a36e 100644 --- a/boot-opensearch-sample/src/test/java/com/example/opensearch/common/ContainersConfig.java +++ b/boot-opensearch-sample/src/test/java/com/example/opensearch/common/ContainersConfig.java @@ -7,7 +7,7 @@ public class ContainersConfig { static final GenericContainer openSearchContainer = - new GenericContainer<>("opensearchproject/opensearch:1.3.12") + new GenericContainer<>("opensearchproject/opensearch:2.9.0") .withEnv("discovery.type", "single-node") .withEnv("DISABLE_SECURITY_PLUGIN", "true") .withEnv("OPENSEARCH_JAVA_OPTS", "-Xms512m -Xmx512m")