RFR: 8286293: Tests ShortResponseBody and ShortResponseBodyWithRetry should use less resources [v2]

Michael McMahon michaelm at openjdk.java.net
Mon May 9 12:01:16 UTC 2022


On Sat, 7 May 2022 11:46:32 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Hi,
>> 
>> Please find here a simple test fix that re-architecture ShortResponseBody for better resource usage.
>> The test is split to test GET and POST separately and avoids testing GET twice.
>
> Daniel Fuchs has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
> 
>  - Merge branch 'master' into ShortResponseBody
>  - 8286293: Tests ShortResponseBody and ShortResponseBodyWithRetry should use less resources

test/jdk/java/net/httpclient/ShortResponseBodyPost.java line 31:

> 29:  * @library /test/lib
> 30:  * @build jdk.test.lib.net.SimpleSSLContext ShortResponseBody ShortResponseBodyGet
> 31:  * @run testng/othervm

Seems like the build directive should refer to ShortResponseBodyPost instead of ShortResponseBodyGet

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

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


More information about the net-dev mailing list