On Tue, 13 Apr 2021 13:19:17 GMT, Fernando Guallini <[email protected]> 
wrote:

> test/jdk/javax/net/ssl/DTLS/RespondToRetransmit.java has been seen to fail 
> intermittently. 
> The server side is binding to the wildcard/localhost address which has been a 
> source of instability in many tests. Binding to loopback address fixes the 
> intermittent failures.
> 
> In addition, other changes were introduced in the tests to improve code 
> readability:
> - Reduce duplication by reusing code
> - Replace if statements with Switch expressions
> - Make fields final when appropriate
> - Convert ServerCallable and ClientCallable to records
> - Replace Byte.valueOf with Byte.parseByte to avoid redundant boxing

This pull request has now been integrated.

Changeset: 79adc16f
Author:    Fernando Guallini <[email protected]>
Committer: Xue-Lei Andrew Fan <[email protected]>
URL:       https://git.openjdk.java.net/jdk/commit/79adc16f
Stats:     300 lines in 3 files changed: 78 ins; 130 del; 92 mod

8264152: javax/net/ssl/DTLS/RespondToRetransmit.java timed out

Reviewed-by: xuelei

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

PR: https://git.openjdk.java.net/jdk/pull/3466

Reply via email to