Repository: camel
Updated Branches:
  refs/heads/master 34c9a9bf1 -> 33d885925


Fix test


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/33d88592
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/33d88592
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/33d88592

Branch: refs/heads/master
Commit: 33d885925522d90be35f685b7f50ccc66c333f7e
Parents: 34c9a9b
Author: lburgazzoli <lburgazz...@gmail.com>
Authored: Tue Jan 17 08:35:39 2017 +0100
Committer: lburgazzoli <lburgazz...@gmail.com>
Committed: Tue Jan 17 08:35:53 2017 +0100

----------------------------------------------------------------------
 .../org/apache/camel/impl/cloud/CachingServiceDiscoveryTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/33d88592/camel-core/src/test/java/org/apache/camel/impl/cloud/CachingServiceDiscoveryTest.java
----------------------------------------------------------------------
diff --git 
a/camel-core/src/test/java/org/apache/camel/impl/cloud/CachingServiceDiscoveryTest.java
 
b/camel-core/src/test/java/org/apache/camel/impl/cloud/CachingServiceDiscoveryTest.java
index 661e8d7..28bb00c 100644
--- 
a/camel-core/src/test/java/org/apache/camel/impl/cloud/CachingServiceDiscoveryTest.java
+++ 
b/camel-core/src/test/java/org/apache/camel/impl/cloud/CachingServiceDiscoveryTest.java
@@ -57,11 +57,11 @@ public class CachingServiceDiscoveryTest extends 
ContextTestSupport {
 
         Assert.assertEquals(1, 
caching.getUpdatedListOfServices("no-name").size());
         delegate.addServer("no-name@localhost:1112");
-        Assert.assertEquals(1, 
caching.getUpdatedListOfServices("noname").size());
+        Assert.assertEquals(1, 
caching.getUpdatedListOfServices("no-name").size());
 
         // Let the cache expire
         Thread.sleep(1100);
 
-        Assert.assertEquals(2, 
caching.getUpdatedListOfServices("noname").size());
+        Assert.assertEquals(2, 
caching.getUpdatedListOfServices("no-name").size());
     }
 }

Reply via email to