RFR: 8304174: Remove delays from httpserver tests
Daniel Jeliński
djelinski at openjdk.org
Thu Mar 16 20:41:54 UTC 2023
On Tue, 14 Mar 2023 19:41:25 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
> This change improves the running time of many httpserver tests; it removes the one second delay introduced by `delay()` calls, and performs immediate httpserver stop by calling `stop(0)`.
>
> For example, `com/sun/net/httpserver/Test1.java` usually takes 20-30 seconds without this change; with this change it completes in 5-8 seconds.
>
> Tiers 1-3 still green.
50 repeats of tests using SimpleHttpServer also passed. Removing the delays appears to have no effect on test stability.
-------------
PR: https://git.openjdk.org/jdk/pull/13028
More information about the net-dev
mailing list