RFR: 8163498: Many long-running security libs tests [v3]

Fernando Guallini fguallini at openjdk.java.net
Wed Feb 3 22:24:03 UTC 2021


> 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

Fernando Guallini has updated the pull request incrementally with one additional commit since the last revision:

  add key itself to signature verification

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2381/files
  - new: https://git.openjdk.java.net/jdk/pull/2381/files/45b877e9..56ff061e

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2381&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2381&range=01-02

  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2381.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2381/head:pull/2381

PR: https://git.openjdk.java.net/jdk/pull/2381


More information about the security-dev mailing list