Description
org.apache.kafka.common.utils.UtilsTest.testToLogDateTimeFormat
test is failing in some cases. It uses hard coded datetime (2020-11-09 12:34:05), while the assertation expected part contains the offset of the current time (Instant.now()). This can lead to problems if there is a summer and winter time for the specific location. We should use the same datetime in the offset query instead of the current time.
org.opentest4j.AssertionFailedError: expected: <2020-11-09 12:34:05,123 -07:00> but was: <2020-11-09 12:34:05,123 -08:00>
Attachments
Issue Links
- links to