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")