On Mon, 17 Mar 2025 13:19:55 GMT, Fernando Guallini <fguall...@openjdk.org> 
wrote:

> The test  `javax/net/ssl/DTLS/PacketLossRetransmission` takes about ~2  to 
> complete. The reason is that, in multiple scenarios, the server/client socket 
> times out after 10 seconds waiting to receive a DatagramPacket that has been 
> removed (to simulate a packet loss). 
> After reducing the time out only for such scenarios, the total test execution 
> is completed within ~20 seconds on average. Other scenarios do not throw 
> SocketTimeOut, no need to update.

test/jdk/javax/net/ssl/DTLS/PacketLossRetransmission.java line 91:

> 89: 
> 90:         PacketLossRetransmission testCase = new 
> PacketLossRetransmission();
> 91:         if (args.length >= 4 && "shortTimeOut".equals(args[3])) {

Update this to `equalsIgnoreCase`. 

How do you decide which test to use `shortTimeOut` on? Please add some verbiage 
as a guidance. Side note - how is `args[2]` used in this test?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/24079#discussion_r2069865085

Reply via email to