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:59 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.13.x 5db88ef42 -> 0e93424aa


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

Branch: refs/heads/camel-2.13.x
Commit: 0e93424aad91284ba07e9eff1574ef89a6be1265
Parents: 5db88ef
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:51 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/0e93424a/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