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 2016/04/01 13:49:05 UTC
[2/2] camel git commit: CAMEL-8602: Java 8: ConcurrentLinkedHashMap
-> Caffeine. Fixed test
CAMEL-8602: Java 8: ConcurrentLinkedHashMap -> Caffeine. Fixed test
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/07293326
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/07293326
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/07293326
Branch: refs/heads/master
Commit: 072933264f6e7f0863bc702852282bb2a56fc3a3
Parents: 4ccf075
Author: Claus Ibsen <da...@apache.org>
Authored: Fri Apr 1 13:20:55 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Apr 1 13:48:38 2016 +0200
----------------------------------------------------------------------
.../file/remote/FtpConsumerIdempotentMemoryRefTest.java | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/07293326/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentMemoryRefTest.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentMemoryRefTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentMemoryRefTest.java
index 8de66c9..704883e 100644
--- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentMemoryRefTest.java
+++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentMemoryRefTest.java
@@ -75,20 +75,13 @@ public class FtpConsumerIdempotentMemoryRefTest extends FtpServerTestSupport {
sendFile(getFtpUrl(), "Hello A", "a.txt");
sendFile(getFtpUrl(), "Hello B", "b.txt");
// new files
- sendFile(getFtpUrl(), "Hello E", "f.txt");
- sendFile(getFtpUrl(), "Hello E", "g.txt");
+ sendFile(getFtpUrl(), "Hello F", "f.txt");
+ sendFile(getFtpUrl(), "Hello G", "g.txt");
assertMockEndpointsSatisfied();
assertTrue(notify.matches(5, TimeUnit.SECONDS));
assertEquals(5, repo.getCache().size());
- assertTrue(repo.contains("a.txt"));
- assertTrue(repo.contains("b.txt"));
- assertFalse(repo.contains("c.txt"));
- assertFalse(repo.contains("d.txt"));
- assertTrue(repo.contains("e.txt"));
- assertTrue(repo.contains("f.txt"));
- assertTrue(repo.contains("g.txt"));
}
@Override