TimeAndTimestampTest fails with SQL Server and MYSQL

Description

org.hibernate.test.type.TimeAndTimestampTest

SQL Server

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

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

Environment

SQL Server 2012, 2014, 2016
MySQL 5.5, MySQL 5.7

Status

Assignee

Vlad Mihalcea

Reporter

Martin Šimka

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

Components

Priority

Major
Configure