[jdk17] Integrated: 8268555: Update HttpClient tests that use ITestContext to jtreg 6+1

Daniel Fuchs dfuchs at openjdk.java.net
Fri Jun 11 08:45:54 UTC 2021


On Thu, 10 Jun 2021 17:39:58 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> Another change brought by jtreg 6+1 in the behavior of @BeforeMethod.
> Now throwing an exception in @BeforeMethod causes all annotated methods to be skipped, not just those annotated with @Test.
> 
> HttpClient tests that use @BeforeMethod and ITestContext need to be updated to work around the new behavior.
> 
> Rebased to jdk17 repo.

This pull request has now been integrated.

Changeset: da043e99
Author:    Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17/commit/da043e99b830fa4fcbfdbdbed182abc394ba6fb1
Stats:     304 lines in 10 files changed: 276 ins; 0 del; 28 mod

8268555: Update HttpClient tests that use ITestContext to jtreg 6+1

Reviewed-by: chegar

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

PR: https://git.openjdk.java.net/jdk17/pull/5


More information about the net-dev mailing list