-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Refactor the nowInMillisResolution in a common place #38511
Copy link
Copy link
Closed
Labels
:Core/Infra/CoreCore issues without another labelCore issues without another label>refactoring>testIssues or PRs that are addressing/adding testsIssues or PRs that are addressing/adding testsv8.0.0-alpha1
Description
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 hood
This 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Core/Infra/CoreCore issues without another labelCore issues without another label>refactoring>testIssues or PRs that are addressing/adding testsIssues or PRs that are addressing/adding testsv8.0.0-alpha1
Type
Fields
Give feedbackNo fields configured for issues without a type.