Integrated: 8373866: Refactor java/net/httpclient/ThrowingSubscribers*.java tests to use JUnit5
Daniel Fuchs
dfuchs at openjdk.org
Thu Dec 18 09:42:17 UTC 2025
On Wed, 17 Dec 2025 11:25:12 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
> These test used to use the testng IContextTest API to stop tests after the first failure.
> Usage of IContextTest has been replaced with a TestWatcher that records the first failure and uses Assumptions to prevent further test execution.
>
> This is similar to what was done for the `java/net/httpclient/ThrowingPublishers*.java` tests in https://github.com/openjdk/jdk/pull/28846
This pull request has now been integrated.
Changeset: d8eb1259
Author: Daniel Fuchs <dfuchs at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d8eb1259f4c0d80861401612e9fc7def1466602e
Stats: 167 lines in 10 files changed: 54 ins; 39 del; 74 mod
8373866: Refactor java/net/httpclient/ThrowingSubscribers*.java tests to use JUnit5
Reviewed-by: jpai
-------------
PR: https://git.openjdk.org/jdk/pull/28865
More information about the net-dev
mailing list