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:23:06 GMT
Repository: camel
Updated Branches:
  refs/heads/master b94664af1 -> 9e52e12a3


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/9e52e12a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/9e52e12a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/9e52e12a

Branch: refs/heads/master
Commit: 9e52e12a3c2791c2cca561b1f169b5e42c9a5941
Parents: b94664a
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:23:00 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/9e52e12a/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