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 and for `java/net/httpclient/ThrowingSubscribers*.java` in https://github.com/openjdk/jdk/pull/28865 ------------- Commit messages: - 8373869: Refactor java/net/httpclient/ThrowingPushPromises*.java tests to use JUnit5 Changes: https://git.openjdk.org/jdk/pull/28868/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28868&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8373869 Stats: 158 lines in 8 files changed: 51 ins; 39 del; 68 mod Patch: https://git.openjdk.org/jdk/pull/28868.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/28868/head:pull/28868 PR: https://git.openjdk.org/jdk/pull/28868
