Integrated: 8249831: Test sun/security/mscapi/nonUniqueAliases/NonUniqueAliases.java is marked with @ignore

Fernando Guallini fguallini at openjdk.org
Wed Feb 12 18:39:18 UTC 2025


On Wed, 2 Oct 2024 13:24:00 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:

> The test: **sun/security/mscapi/nonUniqueAliases/NonUniqueAliases.java** relies on the `certutil.exe` tool to import and delete certificates from a keystore. It was annotated with `@ignore` due to the uncertainty of `certutil.exe` being available on the instance where the test is executed.
> 
> Rather than ignoring the test entirely, this PR updates the logic to throw a `SkippedException` if the tool is not found, ensuring the test runs when possible, and gracefully skipped otherwise.

This pull request has now been integrated.

Changeset: c5ac3c4f
Author:    Fernando Guallini <fguallini at openjdk.org>
Committer: Rajan Halade <rhalade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c5ac3c4f11e777b24d597deec522c9df09750f59
Stats:     18 lines in 1 file changed: 14 ins; 2 del; 2 mod

8249831: Test sun/security/mscapi/nonUniqueAliases/NonUniqueAliases.java is marked with @ignore

Reviewed-by: hchao, rhalade

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

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


More information about the security-dev mailing list