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

Daniel Fuchs dfuchs at openjdk.java.net
Thu Jun 10 17:46:26 UTC 2021


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.

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

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

Changes: https://git.openjdk.java.net/jdk17/pull/5/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk17&pr=5&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8268555
  Stats: 304 lines in 10 files changed: 276 ins; 0 del; 28 mod
  Patch: https://git.openjdk.java.net/jdk17/pull/5.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/5/head:pull/5

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


More information about the net-dev mailing list