From 9b1dd0f16f6ef0713a941d7035e56253aa09c804 Mon Sep 17 00:00:00 2001 From: Shinsuke Sugaya Date: Fri, 10 Jul 2026 05:56:06 +0900 Subject: [PATCH] test(opensearch1): skip demo security config install to align with other test classes OpenSearch1ClientTest was the only Testcontainers-based test class still running the OpenSearch security demo config installer at container startup (via plugins.security.disabled=true), unlike the other four client tests which already disable it via DISABLE_INSTALL_DEMO_CONFIG and DISABLE_SECURITY_PLUGIN. This left it as the one deterministic outlier hitting the container startup wait-strategy timeout in CI. Aligns OpenSearch1ClientTest with the pattern already used by OpenSearch2ClientTest/OpenSearch3ClientTest. --- .../java/org/codelibs/fesen/client/OpenSearch1ClientTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/codelibs/fesen/client/OpenSearch1ClientTest.java b/src/test/java/org/codelibs/fesen/client/OpenSearch1ClientTest.java index c4ba7cd..64f6a14 100644 --- a/src/test/java/org/codelibs/fesen/client/OpenSearch1ClientTest.java +++ b/src/test/java/org/codelibs/fesen/client/OpenSearch1ClientTest.java @@ -142,7 +142,8 @@ static void setupLogger() { static void startServer() { server = new GenericContainer<>(DockerImageName.parse(imageTag))// .withEnv("discovery.type", "single-node")// - .withEnv("plugins.security.disabled", "true")// + .withEnv("DISABLE_INSTALL_DEMO_CONFIG", "true")// + .withEnv("DISABLE_SECURITY_PLUGIN", "true")// .withExposedPorts(9200); server.start(); }