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

davsclaus 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 467dd05  Enable tracing in test
467dd05 is described below

commit 467dd054a65c6fc1166200deb8b043672260cf7a
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Oct 9 10:44:53 2021 +0200

    Enable tracing in test
---
 .../java/org/apache/camel/processor/TracerConfigurationTest.java  | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/processor/TracerConfigurationTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/processor/TracerConfigurationTest.java
index f327835..f129c1f 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/processor/TracerConfigurationTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/processor/TracerConfigurationTest.java
@@ -16,6 +16,7 @@
  */
 package org.apache.camel.processor;
 
+import org.apache.camel.CamelContext;
 import org.apache.camel.ContextTestSupport;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
@@ -23,6 +24,13 @@ import org.junit.jupiter.api.Test;
 
 public class TracerConfigurationTest extends ContextTestSupport {
 
+    @Override
+    protected CamelContext createCamelContext() throws Exception {
+        CamelContext context = super.createCamelContext();
+        context.setTracing(true);
+        return context;
+    }
+
     @Test
     public void testTracerConfiguration() throws Exception {
         MockEndpoint mock = getMockEndpoint("mock:result");

Reply via email to