RFR: 8163498: Many long-running security libs tests
Rajan Halade
rhalade at openjdk.java.net
Wed Feb 3 18:47:41 UTC 2021
On Wed, 3 Feb 2021 13:29:54 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:
> The following tests have been split based on lower/higher key sizes in order to reduce individual execution time and run in parallel with jtreg
> sun/security/provider/DSA/SupportedDSAParamGen.java
> sun/security/provider/NSASuiteB/TestDSAGenParameterSpec.java
> com/sun/crypto/provider/KeyAgreement/SupportedDHParamGens.java
>
> sun/security/rsa/SignatureTest.java is now using a fake generator since its objective is to test signature not key generation itself. In addition, it was generating and verifying the same key twice, with same modulus and exponent. That redundancy is removed. This speeds up the execution from ~54s to ~25s on average
Marked as reviewed by rhalade (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/2381
More information about the security-dev
mailing list