camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject camel git commit: CAMEL-8391 Fixed the test error of MinaClientModeTcpTextlineDelimiterTest
Date Sat, 07 Mar 2015 00:54:28 GMT
Repository: camel
Updated Branches:
  refs/heads/master c45459fcf -> 2aa61492b


CAMEL-8391 Fixed the test error of MinaClientModeTcpTextlineDelimiterTest


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

Branch: refs/heads/master
Commit: 2aa61492b427c8f163821175a9cd6a9a12f10e80
Parents: c45459f
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Sat Mar 7 08:54:06 2015 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Sat Mar 7 08:54:06 2015 +0800

----------------------------------------------------------------------
 .../component/mina/MinaClientModeTcpTextlineDelimiterTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/2aa61492/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaClientModeTcpTextlineDelimiterTest.java
----------------------------------------------------------------------
diff --git a/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaClientModeTcpTextlineDelimiterTest.java
b/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaClientModeTcpTextlineDelimiterTest.java
index c7fdc1a..5f1ad2d 100644
--- a/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaClientModeTcpTextlineDelimiterTest.java
+++ b/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaClientModeTcpTextlineDelimiterTest.java
@@ -70,7 +70,7 @@ public class MinaClientModeTcpTextlineDelimiterTest extends BaseMinaTest
{
             acceptor = new SocketAcceptor();
             TextLineCodecFactory codecFactory = new TextLineCodecFactory(Charset.forName("UTF-8"),
LineDelimiter.UNIX);
             acceptor.getFilterChain().addLast("codec", new ProtocolCodecFilter(codecFactory));
-            acceptor.bind(new InetSocketAddress("127.0.0.1,", port), new ServerHandler());
+            acceptor.bind(new InetSocketAddress("127.0.0.1", port), new ServerHandler());
         }
         
         public void shutdown() throws Exception {


Mime
View raw message