373246: IOTest.testReset uses dynamic port now instead of static hard coded one
Change-Id: I9b254937fa02ba745832bf1b5c99069bea641bbd
This commit is contained in:
parent
56b6954af3
commit
0adec36c29
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue