RFR: 8201778: Speed up test javax/net/ssl/DTLS/PacketLossRetransmission.java
Fernando Guallini
fguallini at openjdk.org
Thu Mar 20 12:23:51 UTC 2025
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.
-------------
Commit messages:
- fixed typo
- copyright year
- shorter time out
Changes: https://git.openjdk.org/jdk/pull/24079/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24079&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8201778
Stats: 26 lines in 2 files changed: 9 ins; 1 del; 16 mod
Patch: https://git.openjdk.org/jdk/pull/24079.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24079/head:pull/24079
PR: https://git.openjdk.org/jdk/pull/24079
More information about the security-dev
mailing list