RFR: 8231516: network QuickAckTest.java failed due to "SocketException: maximum number of DatagramSockets reached"
Daniel Fuchs
daniel.fuchs at oracle.com
Fri Nov 22 15:09:36 UTC 2019
Hi,
Please find below a trivial fix for:
8231516: network QuickAckTest.java failed due to
"SocketException: maximum number of DatagramSockets reached"
https://bugs.openjdk.java.net/browse/JDK-8231516
The test should be run in /othervm mode to avoid being impacted by
other tests that might be running (or might have been running) in the
agent VM.
best regards,
-- daniel
--- old/test/jdk/jdk/net/Sockets/QuickAckTest.java 2019-11-22
15:03:25.000000000 +0000
+++ new/test/jdk/jdk/net/Sockets/QuickAckTest.java 2019-11-22
15:03:25.000000000 +0000
@@ -26,7 +26,7 @@
* @bug 8145635
* @summary Add TCP_QUICKACK socket option
* @modules jdk.net
- * @run main QuickAckTest
+ * @run main/othervm QuickAckTest
*/
import java.io.IOException;
import java.net.DatagramSocket;
More information about the net-dev
mailing list