Update test

Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
This commit is contained in:
Emmanuel Bigeon 2018-11-25 12:03:06 -05:00
parent 48b4375565
commit 80933bb636
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ public class SocketConsoleApplicationTest {
Thread server;
server = TestServer.getServer();
final String hostName = "127.0.0.1";
final int portNumber = 12345;
final int portNumber = TestServer.PORT;
try (Socket kkSocket = new Socket(hostName, portNumber);
PrintWriter out = new PrintWriter(kkSocket.getOutputStream(), true);

View File

@ -46,7 +46,7 @@ import net.bigeon.gclc.ConsoleApplication;
@SuppressWarnings({ "javadoc", "nls" })
public class TestServer {
public static final int PORT = 3300;
public static final int PORT = 12345;
private static SocketConsoleApplicationShell SHELL;
private static ConnexionManager<Socket> manager;