This is a clone of - https://hibernate.atlassian.net/browse/HHH-14697
Running org.hibernate.test.temporal.TimePropertyTest.testTimeAsDate from Hibernate ORM test suite of version 5.3.20 on MySQL 8.0 database results in a ComparisonFailure:
junit.framework.ComparisonFailure: expected:<08:55:5[1]> but was:<08:55:5[2]> at junit.framework.Assert.assertEquals(Assert.java:100) at junit.framework.Assert.assertEquals(Assert.java:107) at org.hibernate.test.temporal.TimePropertyTest.testTimeAsDate(TimePropertyTest.java:59)
Note: From my tiny experience with DBs I would say it could possibly be caused by rounding milliseconds value. The issue is not present in the latest ORM version (5.5.0), it could have been fixed by this line.
Given that, I'm filing this JIRA as a known issue for QE Hibernate ORM 5.3.20 testing.
- is incorporated by
-
JBEAP-21277 [GSS](7.4.z) Upgrade Hibernate ORM from 5.3.20.Final-redhat-00001 to 5.3.21.Final-redhat-00001
- Closed
- links to