Integrated: 8297798: Timeout with DTLSOverDatagram test template

Matthew Donovan duke at openjdk.org
Thu Dec 15 19:52:10 UTC 2022


On Wed, 7 Dec 2022 13:04:28 GMT, Matthew Donovan <duke at openjdk.org> wrote:

> This fix is intended to address various time-out errors in tests that use DTLSOverDatagram as a test template. Based on test output from those bugs (JDK-8202059, JDK-8249562, JDK-8280185, JDK-8280186, JDK-8269887, JDK-8268899), this fix:
> 
> * refactors the class to only create one additional thread
> * adds a CountdownLatch so if the server thread doesn't start for some reason, it is reported quickly
> * cleans up code to remove a loop condition that never fired: tests always time-out before too many loop iterations
> * removes CipherSuite.java from ProblemList
> 
> Ran the following tests 200 times each with no failures.
> * open/test/jdk/javax/net/ssl/DTLS/ClientAuth.java
> * open/test/jdk/javax/net/ssl/DTLS/PacketLossRetransmission.java
> * open/test/jdk/javax/net/ssl/DTLS/RespondToRetransmit.java
> * open/test/jdk/javax/net/ssl/DTLS/InvalidCookie.java
> * open/test/jdk/javax/net/ssl/DTLS/CipherSuite.java

This pull request has now been integrated.

Changeset: 4b313b51
Author:    Matthew Donovan <matthew.p.donovan at oracle.com>
Committer: Rajan Halade <rhalade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4b313b51b1787113961c289a41708e31fa19cacc
Stats:     170 lines in 3 files changed: 35 ins; 91 del; 44 mod

8297798: Timeout with DTLSOverDatagram test template

Reviewed-by: jnimeh, rhalade

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

PR: https://git.openjdk.org/jdk/pull/11558



More information about the security-dev mailing list