RFR: 8375352: java/net/httpclient/ConnectTimeoutWithProxy*.java tests fail on EC2 [v2]
Volkan Yazici
vyazici at openjdk.org
Tue Jan 27 14:42:22 UTC 2026
On Tue, 27 Jan 2026 10:01:19 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> Have you tried to uncondiotionnaly throw an exception here to see how it shows up in the test log? IIRC throwing in static initializer in test classes didn't give very user friendly diagnosis. But I have never seen how it looked like with junit :-)
>
> Just to see if doing this during class initialization is OK - or if we should rather move that to a method annotated with `@BeforeAll`.
> why not `UncheckedIOException`?
Because one less `import` line.
> Have you tried to uncondiotionnaly throw an exception here to see how it shows up in the test log? IIRC throwing in static initializer in test classes didn't give very user friendly diagnosis.
Verified that it is all good on JTreg+JUnit output.
> alternatively a simple for loop
Done in fc639467db1.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29431#discussion_r2732335223
More information about the net-dev
mailing list