Closed
Description
Instant
can contain up to nine digits in its decimal part, but most databases only support microsecond precision. Given that, R2dbcReactiveOAuth2AuthorizedClientServiceTests
should only assert that Instant
values match database values up to the microsecond.
Additional Details
This can be verified on Windows using JDK 11 and running R2dbcReactiveOAuth2AuthorizedClientServiceTests
. Occassionally, the Instant
obtained from the OS contains enough precision to cause rounding, making the assertions fail.