diff --git a/user-service/src/test/java/com/mh/user/socket/NettyClientTest.java b/user-service/src/test/java/com/mh/user/socket/NettyClientTest.java index 4b04f0e..082eeea 100644 --- a/user-service/src/test/java/com/mh/user/socket/NettyClientTest.java +++ b/user-service/src/test/java/com/mh/user/socket/NettyClientTest.java @@ -1,52 +1,52 @@ -package com.mh.user.socket; - -import lombok.extern.slf4j.Slf4j; -import org.junit.jupiter.api.Test; -import org.springframework.boot.test.context.SpringBootTest; - -/** - * @author ljf - * @title : - * @description : - * @updateTime 2020-05-13 - * @throws : - */ -@Slf4j -@SpringBootTest -public class NettyClientTest { - - @Test - void Test() throws InterruptedException { - NettyClient nettyClient = new NettyClient(); - nettyClient.connect(1008,"192.168.1.222"); -// Thread.sleep(5000); -// nettyClient.connect(10100,"192.168.1.222"); - } - - @Test - void Test1() throws InterruptedException { - NettyClient nettyClient = new NettyClient(); - nettyClient.connect(8080,"192.168.2.10"); -// Thread.sleep(5000); -// nettyClient.connect(10100,"192.168.1.222"); - } - - @Test - void testChillers() throws InterruptedException { - } - - @Test - void testDDCChillers() throws InterruptedException { - NettyChillerDDCClient.connect(8080,"169.254.194.199"); +//package com.mh.user.socket; +// +//import lombok.extern.slf4j.Slf4j; +//import org.junit.jupiter.api.Test; +//import org.springframework.boot.test.context.SpringBootTest; +// +///** +// * @author ljf +// * @title : +// * @description : +// * @updateTime 2020-05-13 +// * @throws : +// */ +//@Slf4j +//@SpringBootTest +//public class NettyClientTest { +// +// @Test +// void Test() throws InterruptedException { +// NettyClient nettyClient = new NettyClient(); +// nettyClient.connect(1008,"192.168.1.222"); +//// Thread.sleep(5000); +//// nettyClient.connect(10100,"192.168.1.222"); +// } +// +// @Test +// void Test1() throws InterruptedException { +// NettyClient nettyClient = new NettyClient(); +// nettyClient.connect(8080,"192.168.2.10"); +//// Thread.sleep(5000); +//// nettyClient.connect(10100,"192.168.1.222"); +// } +// +// @Test +// void testChillers() throws InterruptedException { +// } +// +// @Test +// void testDDCChillers() throws InterruptedException { // NettyChillerDDCClient.connect(8080,"169.254.194.199"); - - } - - @Test - void testMeterChillers() throws InterruptedException { - NettyMeterClient nettyMeterClient = new NettyMeterClient(); - nettyMeterClient.connect(8080,"192.168.2.10"); -// nettyMeterClient.connect(9000,"192.168.2.54"); - } - -} +//// NettyChillerDDCClient.connect(8080,"169.254.194.199"); +// +// } +// +// @Test +// void testMeterChillers() throws InterruptedException { +// NettyMeterClient nettyMeterClient = new NettyMeterClient(); +// nettyMeterClient.connect(8080,"192.168.2.10"); +//// nettyMeterClient.connect(9000,"192.168.2.54"); +// } +// +//}