Seems like changing timeValue to odd number helps, but I'm not sure if it's correct fix. Also I'm not sure why there is modulo in assertion instead of getTime.
MySQL 5.5 - org.hibernate.dialect.MySQL5InnoDBDialect
MySQL 5.7 - org.hibernate.dialect.MySQL57Dialect
I see that it is skipped for MySQL8Dialect and MariaDBDialect perhaps it should be skipped also for older MySQL dialects
SQL Server 2012, 2014, 2016
MySQL 5.5, MySQL 5.7