RFR: 8249831: Test sun/security/mscapi/nonUniqueAliases/NonUniqueAliases.java is marked with @ignore
Fernando Guallini
fguallini at openjdk.org
Wed Feb 5 16:37:15 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.
Review pending 🙏
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21305#issuecomment-2637437446
More information about the security-dev
mailing list