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

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

commit 0614ca2a862c291f08e63a855af315403fe77bb0
Author: John Poth <poth.j...@gmail.com>
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
---
 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 5080458511b..07aa444781a 100644
--- a/components/camel-opentelemetry/pom.xml
+++ b/components/camel-opentelemetry/pom.xml
@@ -112,6 +112,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>

Reply via email to