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

Daniel Fuchs dfuchs at openjdk.org
Tue Dec 20 11:08:53 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.

This pull request has now been integrated.

Changeset: 5df00d34
Author:    Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5df00d34fe83648fb833dac738a45653865ca426
Stats:     31 lines in 3 files changed: 21 ins; 0 del; 10 mod

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

Reviewed-by: jpai

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

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


More information about the net-dev mailing list