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

SendaoYan syan at openjdk.org
Tue Sep 2 15:16:13 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.

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

Commit messages:
 - 8366694: Test JdbStopInNotificationThreadTest.java timed out after 60 second

Changes: https://git.openjdk.org/jdk/pull/27055/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27055&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8366694
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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