Integrated: 8286873: Improve websocket test execution time

Daniel Jeliński djelinski at openjdk.java.net
Thu May 19 13:25:55 UTC 2022


On Tue, 17 May 2022 12:45:52 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

> This PR improves the execution time of jdk_net tests (and, by extension, tier2) by about 3 minutes.
> 
> Tests located under `jdk/java/net/httpclient/websocket` are never run in parallel. Each of the 8 modified `Pending***` tests originally required 40 seconds to complete. After the proposed changes, they usually complete in 15 seconds.
> 
> This PR modifies the tests to initially run with 1 second timeout. If the test fails with 1 second timeout, it is retried with timeout increased to 10 seconds (the original value).
> 
> The modified tests were executed at least 10 times on each of: Windows, Linux (both x64 and aarch64), MacOS (both x64 and aarch64). No failures were observed.

This pull request has now been integrated.

Changeset: d24c84e7
Author:    Daniel Jeliński <djelinski at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/d24c84e7687890db88550b05ff9eebe9cae361b2
Stats:     140 lines in 10 files changed: 68 ins; 39 del; 33 mod

8286873: Improve websocket test execution time

Reviewed-by: dfuchs, prappo

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

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


More information about the net-dev mailing list