This is an automated email from the ASF dual-hosted git repository. jpoth pushed a commit to branch backport-4.4.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit d65ab06c3b8e52e19c8cf246e52a651c16282805 Author: John Poth <[email protected]> AuthorDate: Wed Sep 25 11:51:58 2024 +0200 CAMEL-21261 - camel-opentelemetry: let's use the strict context storage in tests to check for leaks (cherry picked from commit 0614ca2a862c291f08e63a855af315403fe77bb0) --- components/camel-opentelemetry/pom.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/components/camel-opentelemetry/pom.xml b/components/camel-opentelemetry/pom.xml index 182c3bafd87..012128f744f 100644 --- a/components/camel-opentelemetry/pom.xml +++ b/components/camel-opentelemetry/pom.xml @@ -100,6 +100,20 @@ </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <systemPropertyVariables> + <io.opentelemetry.context.enableStrictContext>true</io.opentelemetry.context.enableStrictContext> + </systemPropertyVariables> + </configuration> + </plugin> + </plugins> + </build> + <profiles> <profile> <id>full</id>
