[9] RFR: 8015595: Test sun/security/krb5/auto/Unreachable.java fails with Timeout error

Sibabrata Sahoo sibabrata.sahoo at oracle.com
Wed Aug 24 16:16:01 UTC 2016


Hi,

 

Please review the patch for "sun/security/krb5/auto/Unreachable.java fails with Timeout error"

 

JBS: https://bugs.openjdk.java.net/browse/JDK-8015595

Webrev: http://cr.openjdk.java.net/~ssahoo/8015595/webrev.00/

 

Description:

When a KDC port is unreachable, Kerberos login module depends on PortUnreachableException to exit immediately. But as per JavaDoc for receive() in "java.net.DatagramSocket", the PortUnreachableException is not guaranteed. In such case the Login module waits for 90 second by default. But the JTREG Test timeout has been set for 10 second and because of that the Test gets timeout.

 

Since the "intermittent" failure is unavoidable due to  "PortUnreachableException is not guaranteed", I have provided a fix to print a warning message for such cases instead of making the Test timeout.

 

Thanks,

Siba

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20160824/fd0f3317/attachment.htm>


More information about the security-dev mailing list