You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test AbstractCodecIntegrationTests::localDateTime fails because it serializes an Instant.now() value and compares it with the deserialized one without truncating it to microseconds.
The test completes successfully on JDK 8 as the Instant resolution is in milliseconds, but fails on JDK 17.
Truncation to microseconds was already used in the same test for LocalDateTimes, and was forgotten out for the Instant case.
Integration tests failure
Test
AbstractCodecIntegrationTests::localDateTime
fails because it serializes anInstant.now()
value and compares it with the deserialized one without truncating it to microseconds.The test completes successfully on JDK 8 as the Instant resolution is in milliseconds, but fails on JDK 17.
Truncation to microseconds was already used in the same test for
LocalDateTime
s, and was forgotten out for theInstant
case.Fix
The text was updated successfully, but these errors were encountered: