On Mon, 18 May 2026 17:05:37 GMT, Rajan Halade <[email protected]> wrote:
>> test/jdk/sun/security/ssl/X509KeyManager/PreferredKey.java line 103: >> >>> 101: .setPublicKey(caKeys.getPublic()) >>> 102: .setNotBefore(Date.from(Instant.now().minus(1, >>> ChronoUnit.HOURS))) >>> 103: .setNotAfter(Date.from(Instant.now().plus(1, >>> ChronoUnit.HOURS))) >> >> 1-hour lifetime is enough for normal jtreg runs but maybe fragile. > > Why does it need to be valid for time when test is expected to finish within > a second? 1 hour maybe not enough when someone debug this test. It's up to you. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/31186#discussion_r3263244296
