You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/10/08 06:16:08 UTC

[camel] branch camel-3.4.x updated: CAMEL-15558 pollEnrich timeout issue added unit test

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

davsclaus pushed a commit to branch camel-3.4.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.4.x by this push:
     new cd86046  CAMEL-15558 pollEnrich timeout issue added unit test
cd86046 is described below

commit cd8604646d888bd1b51d4c81ca10f338a1a72d90
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Oct 8 08:15:11 2020 +0200

    CAMEL-15558 pollEnrich timeout issue added unit test
---
 .../org/apache/camel/processor/enricher/PollEnricherFileTest.java   | 6 +++---
 core/camel-core/src/test/resources/log4j2.properties                | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherFileTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherFileTest.java
index 4abdf57..41db10b 100644
--- a/core/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherFileTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherFileTest.java
@@ -43,9 +43,9 @@ public class PollEnricherFileTest extends ContextTestSupport {
             @Override
             public void configure() throws Exception {
                 from("timer:hello?repeatCount=1&delay=10")
-                    .to("log:1", "mock:1")
-                    .pollEnrich("file:target/temp?noop=true&fileName=doesnotexist.csv", 1000)
-                    .to("log:2", "mock:2");
+                        .to("log:1", "mock:1")
+                        .pollEnrich("file:target/temp?noop=true&fileName=doesnotexist.csv", 1000)
+                        .to("log:2", "mock:2");
             }
         };
     }
diff --git a/core/camel-core/src/test/resources/log4j2.properties b/core/camel-core/src/test/resources/log4j2.properties
index 5bf435b..a5b53e0 100644
--- a/core/camel-core/src/test/resources/log4j2.properties
+++ b/core/camel-core/src/test/resources/log4j2.properties
@@ -43,7 +43,7 @@ logger.file-cluster.level = DEBUG
 rootLogger.level = INFO
 
 rootLogger.appenderRef.file.ref = file
-rootLogger.appenderRef.console.ref = console
+#rootLogger.appenderRef.console.ref = console
 
 #logger.camel-core.name = org.apache.camel
 #logger.camel-core.level = TRACE