[9] RFR: 8157896: TestDSAGenParameterSpec.java test fails with timeout
Sibabrata Sahoo
sibabrata.sahoo at oracle.com
Tue May 31 15:04:59 UTC 2016
Hi,
Please review the fix for the following JBS bugs,
JBS: https://bugs.openjdk.java.net/browse/JDK-8157896
https://bugs.openjdk.java.net/browse/JDK-8157898
webrev: http://cr.openjdk.java.net/~ssahoo/8157896/webrev.00/
Description:
These Tests takes a lots of time to generate DSA parameter when the prime and subprime values are greater in some machine with some platform. The reason is being the operations are CPU intensive, which causes the Tests to timeout in rare occasion. But the Test performance can be improved by, instead of generating DSA parameter with all supported input in a single run, it can be divided for each input as a separate run, so that each run can complete much before compared to all input at once. It also provides the flexibility to associate test options like "timeout" for specific input type where the execution time is expected to exceed the default.
Note: The fix won't give a guarantee that the timeout will never happen but it can surely help reduce the timeout in greater extent. Please provide your suggestion, in case any.
Thanks,
Siba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20160531/e69a1981/attachment.htm>
More information about the security-dev
mailing list