[crac] RFR: 8351402: [CRaC] Use System.nanoTime() in TimedWaitingTest
duke
duke at openjdk.org
Fri Mar 7 12:33:39 UTC 2025
On Fri, 7 Mar 2025 12:15:50 GMT, Timofei Pushkin <tpushkin at openjdk.org> wrote:
> Replaces `System.currentTimeMillis()` with `System.nanoTime()` in `TimedWaitingTest` since the former can, in theory, jump back and forth and that may lead to the test failures.
>
> Also adds a diagnostic assert.
@TimPushkin
Your change (at version 2f1a1e148208b567232cdaed4346b72fb662d3d3) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/crac/pull/209#issuecomment-2706333827
More information about the crac-dev
mailing list