RFR: 8298931: java/net/httpclient/CancelStreamedBodyTest.java fails with AssertionError due to Pending TCP connections: 1

Jaikiran Pai jpai at openjdk.org
Tue Dec 20 10:52:51 UTC 2022


On Mon, 19 Dec 2022 15:22:03 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> The CancelStreamedBodyTest.java and ISO_8859_1_Test.java were observed failing in AssertioError due to resources not being released in the imparted time. I am suspecting this to occur on particularly slow/overloaded machines.
> 
> This change propose to increase the time these two tests wait for resources to be released. It also improves traces in the ReferenceTracker to give better visibility on the tracker waiting loop and help better diagnose any future issue that might be cause by the tracker not waiting long enough.

Looks OK to me.

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

Marked as reviewed by jpai (Reviewer).

PR: https://git.openjdk.org/jdk/pull/11725


More information about the net-dev mailing list