On Wed, 22 Apr 2026 07:11:30 GMT, SendaoYan <[email protected]> wrote:
>> This PR proposes to increase the timeout for >> `LazyConstantSafePublicationTest`. >> >> --------- >> - [X] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > test/jdk/java/lang/LazyConstant/LazyConstantSafePublicationTest.java line 154: > >> 152: try { >> 153: for (Thread t:threads) { >> 154: long deadline = System.nanoTime() + >> TimeUnit.MINUTES.toNanos(4); > > Maybe we can use the API jdk.test.lib.Utils.adjustTimeout to multiply the > jtreg timeout factor. This test has its own "give up" logic. I believe the standard timeout is 480s (8 minutes). ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/30832#discussion_r3122482814
