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

SendaoYan syan at openjdk.org
Wed Sep 3 01:42:58 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 incrementally with one additional commit since the last revision:

  Use addDebuggeeOptions(-Xmx64) to make test run quickly, instead of add timeout value

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

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

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

  Stats: 6 lines in 2 files changed: 2 ins; 0 del; 4 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