Integrated: 7904125: JUnit test discovery issues must result in jtreg test failure

Jaikiran Pai jpai at openjdk.org
Wed Jan 7 10:05:15 UTC 2026


On Mon, 5 Jan 2026 14:22:01 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this change which proposes to fail a jtreg test if there were  any junit test engine discovery errors? This addresses https://bugs.openjdk.org/browse/CODETOOLS-7904125.
> 
> This change should prevent issues like https://bugs.openjdk.org/browse/JDK-8374434 where the warning is being logged by junit but they go unnoticed because there's no test failure raised for those issues.
> 
> A new self test has been introduced to reproduce the issue and verify the change.

This pull request has now been integrated.

Changeset: 0d4599af
Author:    Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jtreg/commit/0d4599affce64a7bc599e335cfb4836bf2f06818
Stats:     105 lines in 4 files changed: 104 ins; 0 del; 1 mod

7904125: JUnit test discovery issues must result in jtreg test failure

Reviewed-by: cstein

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

PR: https://git.openjdk.org/jtreg/pull/304


More information about the jtreg-dev mailing list