RFR: 8366694: Test JdbStopInNotificationThreadTest.java timed out after 60 second [v3]

SendaoYan syan at openjdk.org
Wed Sep 3 01:49:04 UTC 2025


> Hi all,
> 
> Test com/sun/jdi/JdbStopInNotificationThreadTest.java fails "Exception thrown during test execution: waitForPrompt timed out after 60 seconds" after JDK-8260555 change the default timeout factor from 4 to 1. Before JDK-8260555, the "waitForPrompt timed out" value if calculate from `Utils.adjustTimeout(60000)` in [test/jdk/com/sun/jdi/lib/jdb/Jdb.java](https://github.com/openjdk/jdk/blob/master/test/jdk/com/sun/jdi/lib/jdb/Jdb.java#L80), it will [multiply the timeout factor](https://github.com/openjdk/jdk/blob/master/test/lib/jdk/test/lib/Utils.java#L468) . After JDK-8260555 change the timeout factor from 4 to 1, so this timeout value should be ajusted.
> 
> Change has been verified locally, risk is low.

SendaoYan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:

 - Merge branch 'openjdk:master' into jbs8366694
 - Use addDebuggeeOptions(-Xmx64) to make test run quickly, instead of add timeout value
 - 8366694: Test JdbStopInNotificationThreadTest.java timed out after 60 second

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27055/files
  - new: https://git.openjdk.org/jdk/pull/27055/files/97fa547c..2196213c

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

  Stats: 831 lines in 41 files changed: 270 ins; 348 del; 213 mod
  Patch: https://git.openjdk.org/jdk/pull/27055.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27055/head:pull/27055

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


More information about the serviceability-dev mailing list