RFR: 8277353: java/security/MessageDigest/ThreadSafetyTest.java test times out

Sibabrata Sahoo ssahoo at openjdk.java.net
Wed Dec 1 19:32:27 UTC 2021


On Wed, 1 Dec 2021 15:12:16 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> Can you lower the `threadsFactor` or `duration`? Or set an upper limit for `nTasks`?

I can reduce the threadFactor and duration to close to half(threadsFactor=2 and duration=2 Or hardcode nTasks=20) and i think there still will be enough threads to verify threadsafety. In that case default JTREG timeout period should be enough and no need for any additional timeout with @run tag.

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

PR: https://git.openjdk.java.net/jdk/pull/6626


More information about the security-dev mailing list