RFR: 8263364: sun/net/www/http/KeepAliveStream/KeepAliveStreamCloseWithWrongContentLength.java wedged in getInputStream [v2]

Ivan Šipka isipka at openjdk.java.net
Fri Jun 11 15:22:50 UTC 2021


On Fri, 11 Jun 2021 14:48:56 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Ivan Šipka has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8263364: refactor
>
> 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

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

PR: https://git.openjdk.java.net/jdk/pull/4472


More information about the net-dev mailing list