RFR: JDK-8295087: Manual Test to Automated Test Conversion [v6]

Rajan Halade rhalade at openjdk.org
Wed Dec 21 20:41:53 UTC 2022

On Wed, 21 Dec 2022 19:58:18 GMT, Bill Huang <bhuang at openjdk.org> wrote:

>> test/jdk/sun/security/provider/PolicyParser/ExtDirs.java line 33:
>>> 31: 
>>> 32: /*
>>> 33:  * @test
>> Why are these tags duplicated here?
> Multiple "run" in a single test fails the whole test when one test run fails and all subsequent test run get terminated. Multiple tests with only one "run" each allows all test run to be excused, and they can be run in parallel.

I have not seen this used in any other tests. It is a good learning, I didn't knew that multiple tests in single file are run in parallel. It seems like good option. Do you know of any other regression test written this way?


PR: https://git.openjdk.org/jdk/pull/10637

More information about the security-dev mailing list