RFR: 8263364: sun/net/www/http/KeepAliveStream/KeepAliveStreamCloseWithWrongContentLength.java wedged in getInputStream [v2]
Ivan Šipka
isipka at openjdk.java.net
Fri Jun 11 15:41:18 UTC 2021
On Fri, 11 Jun 2021 15:19:49 GMT, Ivan Šipka <isipka at openjdk.org> wrote:
>> test/jdk/sun/net/www/http/KeepAliveStream/KeepAliveStreamCloseWithWrongContentLength.java line 120:
>>
>>> 118: public static void main (String[] args) throws Exception {
>>> 119:
>>> 120: final Integer port = 61234;
>>
>> Why suddenly use a known port? That's a recipe for intermittent test failures.
>
> it was mentioned in the last comment to use the combination of the specific port and URL, but that is likely a lapsus. will change now
come to think of it, I completely misunderstood it.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4472
More information about the net-dev
mailing list