RFR[12] JDK-8209362: sun/security/ssl/SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use (Bind failed)"
sha.jiang at oracle.com
sha.jiang at oracle.com
Fri Aug 31 01:16:37 UTC 2018
Hi Xuelei,
It still be possible that two test runs fail.
Best regards,
John Jiang
On 2018/8/30 22:02, Xuelei Fan wrote:
> Maybe, run the test twice and pass if one passed?
>
> Xuelei
>
> On 8/29/2018 7:34 PM, sha.jiang at oracle.com wrote:
>> Hi,
>> In test sun/security/ssl/SSLSocketImpl/ReuseAddr.java,
>> the second server tries to reuse the first server's port after it stops.
>> But the port may already be occupied by another test before this
>> rebinding.
>>
>> Although I'm not sure a way to resolve this problem thoroughly,
>> it's a chance to refactor this test with SSLSocketTemplate.java.
>>
>> Webrev: http://cr.openjdk.java.net/~jjiang/8209362/webrev.00/
>> Issue: https://bugs.openjdk.java.net/browse/JDK-8209362
>>
>> Best regards,
>> John Jiang
>>
>
More information about the security-dev
mailing list