On Fri, 26 Feb 2021 14:28:23 GMT, Evan Whelan <[email protected]> wrote:

> Hi all,
> 
> Please review my test fix relating to JDK-8262438
> 
> This patch introduces as Thread.sleep at the start of each iteration which 
> creates a new test jvm. 
> This allows the server socket sufficient time to release the previous 
> connection and allows the port to be used again.
> 
> I also refactored the behaviour for when the exitCode is not 0, allowing for 
> an easier to read output.
> An incorrect HttpsUrlConnection.disconnect() was also removed.
> 
> The test was ran 100 times on all platforms and no failures were seen. 
> 
> Thanks,
> Evan

This pull request has now been integrated.

Changeset: b2a2ddff
Author:    Evan Whelan <[email protected]>
Committer: Rob McKenna <[email protected]>
URL:       https://git.openjdk.java.net/jdk/commit/b2a2ddff
Stats:     68 lines in 1 file changed: 6 ins; 61 del; 1 mod

8262438: sun/security/ssl/SSLLogger/LoggingFormatConsistency.java failed with 
"SocketException: Socket is closed"

Reviewed-by: rhalade

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

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

Reply via email to