camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject git commit: CAMEL-7472: Polished the test.
Date Wed, 28 May 2014 21:25:05 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.12.x b8999654a -> 75a3f0919


CAMEL-7472: Polished the test.


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

Branch: refs/heads/camel-2.12.x
Commit: 75a3f0919054382d380f15d9c83edaa83f965cb0
Parents: b899965
Author: Babak Vahdat <bvahdat@apache.org>
Authored: Wed May 28 23:23:00 2014 +0200
Committer: Babak Vahdat <bvahdat@apache.org>
Committed: Wed May 28 23:24:45 2014 +0200

----------------------------------------------------------------------
 .../apache/camel/component/netty/NettyUDPMulticastAsyncTest.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/75a3f091/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyUDPMulticastAsyncTest.java
----------------------------------------------------------------------
diff --git a/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyUDPMulticastAsyncTest.java
b/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyUDPMulticastAsyncTest.java
index 4e361fc..78bc7ce 100644
--- a/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyUDPMulticastAsyncTest.java
+++ b/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyUDPMulticastAsyncTest.java
@@ -67,11 +67,12 @@ public class NettyUDPMulticastAsyncTest extends BaseNettyTest {
     }
 
     @Test
-    public void testUDPInOnlyWithNettyConsumer() throws Exception {
+    public void testUDPInOnlyMulticastWithNettyConsumer() throws Exception {
         MockEndpoint mock = getMockEndpoint("mock:result");
         mock.expectedMessageCount(1);
         mock.message(0).body().startsWith("Song Of A Dream".getBytes());
 
+        // any IP in the range of 224.0.0.0 through 239.255.255.255 does the job
         sendFile("netty:udp://224.1.2.3:{{port}}?sync=false");
 
         mock.assertIsSatisfied();


Mime
View raw message