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

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


The following commit(s) were added to refs/heads/master by this push:
     new 57ef1cc  fixed test
57ef1cc is described below

commit 57ef1ccfc797db98973fd9981921a3e588f88aef
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Sun Mar 14 12:44:50 2021 +0100

    fixed test
---
 .../component/file/FileConsumePollEnrichFileUsingProcessorTest.java  | 5 -----
 1 file changed, 5 deletions(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumePollEnrichFileUsingProcessorTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumePollEnrichFileUsingProcessorTest.java
index 3fd6cbc..af57b34 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumePollEnrichFileUsingProcessorTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumePollEnrichFileUsingProcessorTest.java
@@ -24,10 +24,8 @@ import org.apache.camel.Processor;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.util.FileUtil;
-import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 
-@Disabled("TODO: Fix me")
 public class FileConsumePollEnrichFileUsingProcessorTest extends 
ContextTestSupport {
 
     @Test
@@ -85,9 +83,6 @@ public class FileConsumePollEnrichFileUsingProcessorTest 
extends ContextTestSupp
                                     // otherwise do a rollback
                                     throw new CamelExchangeException("Cannot 
find the data file " + name, exchange);
                                 }
-
-                                // and remember to done the UoW
-                                data.getUnitOfWork().done(data);
                             }
                         }).to("mock:start");
 

Reply via email to