This is an automated email from the ASF dual-hosted git repository.

apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 2d1171a55353 CAMEL-23502 - Disable Observability plugin in OpenSearch 
container used for integration tests
2d1171a55353 is described below

commit 2d1171a5535317091af34983c362bc4f93ef340f
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Tue Jul 7 14:25:24 2026 +0200

    CAMEL-23502 - Disable Observability plugin in OpenSearch container used
    for integration tests
    
    this plugin requires 50% of the disk space available. this is something
    which is not often available on CI. The camel integration is not
    interacting with the observability part of the OpenSearch server.
    
    Co-authored-by: IBM Bob IDE 2.0.0
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 .../opensearch/services/OpenSearchLocalContainerInfraService.java     | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/test-infra/camel-test-infra-opensearch/src/main/java/org/apache/camel/test/infra/opensearch/services/OpenSearchLocalContainerInfraService.java
 
b/test-infra/camel-test-infra-opensearch/src/main/java/org/apache/camel/test/infra/opensearch/services/OpenSearchLocalContainerInfraService.java
index 6935d7e35ad1..acf0c28f1de2 100644
--- 
a/test-infra/camel-test-infra-opensearch/src/main/java/org/apache/camel/test/infra/opensearch/services/OpenSearchLocalContainerInfraService.java
+++ 
b/test-infra/camel-test-infra-opensearch/src/main/java/org/apache/camel/test/infra/opensearch/services/OpenSearchLocalContainerInfraService.java
@@ -66,6 +66,10 @@ public class OpenSearchLocalContainerInfraService implements 
OpenSearchInfraServ
 
                 withLogConsumer(new Slf4jLogConsumer(LOG));
 
+                // Disable the observability plugin to avoid startup issues 
(CAMEL-23502)
+                withEnv("OPENSEARCH_JAVA_OPTS",
+                        "-Dopensearch.cgroups.hierarchy.override=/ 
-Dopensearch.plugin.disable=opensearch-observability");
+
                 ContainerEnvironmentUtil.configurePort(this, fixedPort, 
OPEN_SEARCH_PORT);
             }
         }

Reply via email to