On Fri, 13 Sep 2024 09:47:07 GMT, Kevin Walls <kev...@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. Thanks Leonid and Chris, Yes we really do see 3 attempts, on different port numbers, fail with java.net.BindException: Address already in use Let's see if 10 is enough! 8-) ------------- PR Comment: https://git.openjdk.org/jdk/pull/20991#issuecomment-2353425950