RFR[12] JDK-8209362: sun/security/ssl/SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use (Bind failed)"
Xuelei Fan
xuelei.fan at oracle.com
Fri Aug 31 01:22:40 UTC 2018
On 8/30/2018 6:16 PM, sha.jiang at oracle.com wrote:
> Hi Xuelei,
> It still be possible that two test runs fail.
>
Yes. I was wondering the possibility of the failure may go down.
Thanks,
Xuelei
> 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