Update test

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

No files matched your search

@@ -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);
@@ -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;