> 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 one additional 
commit since the last revision:

  Switch to 1s default Threshold and rework comment

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/33000/files
  - new: https://git.openjdk.org/jdk/pull/33000/files/c3deae95..9ae47f1b

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

  Stats: 7 lines in 1 file changed: 0 ins; 1 del; 6 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