Re: RFR: 8310525: DynamicLauncher for JDP test needs to try harder to find a free port

2024-09-16 Thread Kevin Walls
On Fri, 13 Sep 2024 09:47:07 GMT, Kevin Walls 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

Re: RFR: 8310525: DynamicLauncher for JDP test needs to try harder to find a free port

2024-09-16 Thread Chris Plummer
On Fri, 13 Sep 2024 09:47:07 GMT, Kevin Walls 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

Re: RFR: 8310525: DynamicLauncher for JDP test needs to try harder to find a free port

2024-09-16 Thread Leonid Mesnik
On Fri, 13 Sep 2024 09:47:07 GMT, Kevin Walls 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