You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by je...@apache.org on 2018/09/20 03:32:13 UTC

[incubator-dubbo] branch master updated: set timeout to 3000 (#2536)

This is an automated email from the ASF dual-hosted git repository.

jerrick pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new b411a77  set timeout to 3000 (#2536)
b411a77 is described below

commit b411a777b3d3111dcdea0cd6d88151b3358665b8
Author: Jerrick Zhu <di...@gmail.com>
AuthorDate: Thu Sep 20 11:32:08 2018 +0800

    set timeout to 3000 (#2536)
---
 .../java/org/apache/remoting/transport/mina/MinaClientToServerTest.java | 2 +-
 .../apache/dubbo/remoting/transport/netty4/NettyClientToServerTest.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dubbo-remoting/dubbo-remoting-mina/src/test/java/org/apache/remoting/transport/mina/MinaClientToServerTest.java b/dubbo-remoting/dubbo-remoting-mina/src/test/java/org/apache/remoting/transport/mina/MinaClientToServerTest.java
index d832367..433a4a8 100644
--- a/dubbo-remoting/dubbo-remoting-mina/src/test/java/org/apache/remoting/transport/mina/MinaClientToServerTest.java
+++ b/dubbo-remoting/dubbo-remoting-mina/src/test/java/org/apache/remoting/transport/mina/MinaClientToServerTest.java
@@ -35,7 +35,7 @@ public class MinaClientToServerTest extends ClientToServerTest {
 
     @Override
     protected ExchangeChannel newClient(int port) throws RemotingException {
-        return Exchangers.connect(URL.valueOf("exchange://localhost:" + port + "?client=mina"));
+        return Exchangers.connect(URL.valueOf("exchange://localhost:" + port + "?client=mina&timeout=3000"));
     }
 
 }
\ No newline at end of file
diff --git a/dubbo-remoting/dubbo-remoting-netty4/src/test/java/org/apache/dubbo/remoting/transport/netty4/NettyClientToServerTest.java b/dubbo-remoting/dubbo-remoting-netty4/src/test/java/org/apache/dubbo/remoting/transport/netty4/NettyClientToServerTest.java
index 2d1065d..af20985 100644
--- a/dubbo-remoting/dubbo-remoting-netty4/src/test/java/org/apache/dubbo/remoting/transport/netty4/NettyClientToServerTest.java
+++ b/dubbo-remoting/dubbo-remoting-netty4/src/test/java/org/apache/dubbo/remoting/transport/netty4/NettyClientToServerTest.java
@@ -33,7 +33,7 @@ public class NettyClientToServerTest extends ClientToServerTest {
     }
 
     protected ExchangeChannel newClient(int port) throws RemotingException {
-        return Exchangers.connect(URL.valueOf("exchange://localhost:" + port + "?client=netty4"));
+        return Exchangers.connect(URL.valueOf("exchange://localhost:" + port + "?client=netty4&timeout=3000"));
     }
 
 }
\ No newline at end of file