On Thu, 5 Mar 2026 14:55:39 GMT, Daniel Fuchs <[email protected]> wrote:

> Please find here a change that refactors 
> `test/jdk/java/net/httpclient/http3/H3ErrorHandlingTest.java` to use JUnit.
> 
> This fix also renames `QuicStandaloneServer::addHandler` to 
> `QuicStandaloneServer::setHandler` - since the method doesn't add anything 
> but simply sets a variable. 
> 
> Finally, it also sets up `test/jdk/java/net/httpclient/TEST.properties` to 
> reject `testng` actions in jtreg tests under `test/jdk/java/net/httpclient`, 
> since that was the last test that needed to be converted in this test 
> hierarchy.

test/jdk/java/net/httpclient/TEST.properties line 23:

> 21:         java.logging \
> 22:         jdk.httpserver
> 23: disallowedActions=testng

Maybe add a comment like the following for others to understand (and copy)?

Suggestion:


# Prevent TestNG-based tests, use @run junit actions instead
disallowedActions=testng

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30079#discussion_r2890638916

Reply via email to