jsancio opened a new pull request, #14168: URL: https://github.com/apache/kafka/pull/14168
Time.nanoseconds() (System.nanoTime()) is not monotonically increasing and it is allowed for the value to overflow (wrap). It can only be used to measure elapsed time. Elapsed time can be computed by subtracting two nanoseconds() calls. I ran `testBalancePartitionLeaders` 1000 times using jqwik without any failures. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
