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

acosentino 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 21afaf7052e Fix File flaky test
21afaf7052e is described below

commit 21afaf7052e1736a55dba55a6136b38bfeed43b0
Author: Croway <federico.mariani.1...@gmail.com>
AuthorDate: Mon Jan 23 11:39:19 2023 +0100

    Fix File flaky test
---
 .../org/apache/camel/component/file/FileConsumerAbsolutePathTest.java   | 2 +-
 .../component/file/FileProducerFileExistAppendNoFileBeforeTest.java     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerAbsolutePathTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerAbsolutePathTest.java
index b4688556834..5aa880a5bd3 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerAbsolutePathTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumerAbsolutePathTest.java
@@ -41,7 +41,7 @@ public class FileConsumerAbsolutePathTest extends 
ContextTestSupport {
     protected RouteBuilder createRouteBuilder() throws Exception {
         return new RouteBuilder() {
             public void configure() throws Exception {
-                
from(fileUri("?initialDelay=0&delay=10&delete=true")).convertBodyTo(String.class).to("mock:report");
+                
from(fileUri("?initialDelay=0&delay=100&delete=true")).convertBodyTo(String.class).to("mock:report");
             }
         };
     }
diff --git 
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerFileExistAppendNoFileBeforeTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerFileExistAppendNoFileBeforeTest.java
index db808bc7818..e1005cff29b 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerFileExistAppendNoFileBeforeTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileProducerFileExistAppendNoFileBeforeTest.java
@@ -40,7 +40,7 @@ public class FileProducerFileExistAppendNoFileBeforeTest 
extends ContextTestSupp
         return new RouteBuilder() {
             @Override
             public void configure() throws Exception {
-                
from(fileUri("?noop=true&initialDelay=0&delay=10")).convertBodyTo(String.class).to("mock:result");
+                
from(fileUri("?noop=true&initialDelay=100&delay=10")).convertBodyTo(String.class).to("mock:result");
             }
         };
     }

Reply via email to