> Adjust the THRESHOLD constant to use _adjustTimeout_() so it scales 
> appropriately with the test environment's timeout factor, consistent with 
> other tests such as TcpTimeout.java. Reduced the default value from 3000 ms 
> to 2000 ms.
> 
> The value is additionally capped at 9 seconds to ensure it stays well below 
> the full exponential backoff retry cycle (1 + 2 + 4 + 8 = 15 s), preserving 
> the test's intent of verifying that an ICMP Port Unreachable response causes 
> a quick failure rather than waiting through all retries.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Arno Zeller has updated the pull request incrementally with three additional 
commits since the last revision:

 - Apply suggestion from @RealCLanger
   
   Co-authored-by: Christoph Langer <[email protected]>
 - Apply suggestion from @RealCLanger
   
   Co-authored-by: Christoph Langer <[email protected]>
 - Apply suggestion from @RealCLanger
   
   Co-authored-by: Christoph Langer <[email protected]>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/33000/files
  - new: https://git.openjdk.org/jdk/pull/33000/files/fe760f8e..9468bbd3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=33000&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33000&range=00-01

  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/33000.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33000/head:pull/33000

PR: https://git.openjdk.org/jdk/pull/33000

Reply via email to