Refactor the nowInMillisResolution in a common place #38511
Labels
:Core/Infra/Core
Core issues without another label
>refactoring
>test
Issues or PRs that are addressing/adding tests
v8.0.0-alpha1
depending on the underlying hardware and the JVM version the Clock.system(zone) can return a time with different resolution.
ZonedDateTime
is using that under the hoodThis was changed from in jdk>8
We are already doing this in watcher, ML, sql tests. Worthy to extract in a single place.
sql https://github.com/elastic/elasticsearch/pull/36877/files
watcher #38405
ml #38506
The text was updated successfully, but these errors were encountered: