Update test
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
This commit is contained in:
parent
48b4375565
commit
80933bb636
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user