373246: IOTest.testReset uses dynamic port now instead of static hard coded one

Change-Id: I9b254937fa02ba745832bf1b5c99069bea641bbd
This commit is contained in:
Thomas Becker 2012-03-05 15:15:23 +01:00
parent 56b6954af3
commit 0adec36c29
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ public class IOTest
Socket client;
Socket server;
connector = new ServerSocket(9123);
connector = new ServerSocket(0);
client = new Socket("127.0.0.1",connector.getLocalPort());
server = connector.accept();
client.setTcpNoDelay(true);