8231516: network QuickAckTest.java failed due to "SocketException: maximum number of DatagramSockets reached"

Fix the test to run in /othervm mode

Reviewed-by: chegar
This commit is contained in:
Daniel Fuchs 2019-11-22 17:53:09 +00:00
parent adf0d4eae8
commit ba7b8e9558

View File

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