You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/08/30 14:20:27 UTC

[camel] branch master updated: Camel-Hdfs: Polished code

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

acosentino 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 42c8a96  Camel-Hdfs: Polished code
42c8a96 is described below

commit 42c8a9682ee9c1faa3b08773651af6fc1d32ef35
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Aug 30 16:20:03 2019 +0200

    Camel-Hdfs: Polished code
---
 .../test/java/org/apache/camel/component/hdfs/FromFileToHdfsTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/FromFileToHdfsTest.java b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/FromFileToHdfsTest.java
index 622fc77..a134bce 100644
--- a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/FromFileToHdfsTest.java
+++ b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/FromFileToHdfsTest.java
@@ -69,7 +69,7 @@ public class FromFileToHdfsTest extends HdfsTestSupport {
 
         template.sendBodyAndHeader("file:target/inbox", "Hello World", Exchange.FILE_NAME, "hello.txt");
 
-        notify.matchesMockWaitTime();
+        notify.matchesWaitTime();
 
         File delete = new File("target/inbox/hello.txt");
         assertTrue("File should be deleted " + delete, !delete.exists());
@@ -89,7 +89,7 @@ public class FromFileToHdfsTest extends HdfsTestSupport {
         template.sendBodyAndHeader("file:target/inbox", "Hello World", Exchange.FILE_NAME, "hello.txt");
         template.sendBodyAndHeader("file:target/inbox", "Bye World", Exchange.FILE_NAME, "bye.txt");
 
-        notify.matchesMockWaitTime();
+        notify.matchesWaitTime();
 
         File delete = new File("target/inbox/hello.txt");
         assertTrue("File should be deleted " + delete, !delete.exists());