Skip to content

Commit

Permalink
jboot v1.4.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
yangfuhai committed Apr 11, 2018
1 parent c84cb8e commit e916c28
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/test/java/rpc/DubboClientDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ public class DubboClientDemo extends JbootController {
*/
public static void main(String[] args) {

//设置qos的端口号,否则在同一个机器下测试会造成端口冲突,dubbo目前暂时无法关闭qos server
System.setProperty("dubbo.qos.port","22222");

//jboot端口号配置
Jboot.setBootArg("jboot.server.port", "8088");
Expand Down
2 changes: 0 additions & 2 deletions src/test/java/rpc/DubboServerDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ public class DubboServerDemo {

public static void main(String[] args) throws InterruptedException {

//设置qos的端口号,否则在同一个机器下测试会造成端口冲突,dubbo目前暂时无法关闭qos server
System.setProperty("dubbo.qos.port","11111");

Jboot.setBootArg("jboot.rpc.type", "dubbo");
Jboot.setBootArg("jboot.rpc.callMode", "redirect");//直连模式,默认为注册中心
Expand Down

0 comments on commit e916c28

Please sign in to comment.