lhotari opened a new pull request #10342:
URL: https://github.com/apache/pulsar/pull/10342


   Fixes #10122
   
   ### Motivation
   
   - see #10122 
   
   ### Modifications
   
   - When testing time fields at millisecond precision, use 
`LocalTime.now().truncatedTo(ChronoUnit.MILLIS)` instead of `LocalTime.now()` . 
    
   - On Java 8, `LocalTime.now()` has millisecond precision, but on Java 11, 
there is microsecond precision by default. The change in JDK is 
https://bugs.openjdk.java.net/browse/JDK-8068730 .


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to