Integrated: 8310525: DynamicLauncher for JDP test needs to try harder to find a free port
Kevin Walls
kevinw at openjdk.org
Mon Sep 16 18:27:09 UTC 2024
On Fri, 13 Sep 2024 09:47:07 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
> JDP tests only make 3 attempts to find a free port, using getFreePort().
> We know getFreePort() is racy and you need to make sure the port really is fee when trying to use it.
>
> Make 10 attempts. Leave the logic unchanged. Also fix a typo in another test.
This pull request has now been integrated.
Changeset: 59407faf
Author: Kevin Walls <kevinw at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/59407faf7b6861d142dbc3700a6fa9615567a275
Stats: 6 lines in 2 files changed: 2 ins; 0 del; 4 mod
8310525: DynamicLauncher for JDP test needs to try harder to find a free port
Reviewed-by: lmesnik, cjplummer
-------------
PR: https://git.openjdk.org/jdk/pull/20991
More information about the serviceability-dev
mailing list