On Wed, 21 Dec 2022 19:58:18 GMT, Bill Huang <bhu...@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

Reply via email to