From fc079ba226c4905fbe11a842e2892e63c2717048 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Fri, 7 Jan 2022 23:13:10 +0100 Subject: [PATCH] disable test on some dialects --- .../hibernate/orm/test/query/hql/FunctionTests.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java b/hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java index 24474b90fa..8902e05643 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java @@ -9,8 +9,11 @@ package org.hibernate.orm.test.query.hql; import org.hibernate.QueryException; import org.hibernate.dialect.DerbyDialect; +import org.hibernate.dialect.H2Dialect; +import org.hibernate.dialect.HSQLDialect; import org.hibernate.dialect.MariaDBDialect; import org.hibernate.dialect.MySQLDialect; +import org.hibernate.dialect.SybaseDialect; import org.hibernate.testing.orm.domain.StandardDomainModel; import org.hibernate.testing.orm.domain.gambit.EntityOfBasics; import org.hibernate.testing.orm.domain.gambit.EntityOfLists; @@ -87,6 +90,13 @@ public class FunctionTests { } @Test + @RequiresDialect(H2Dialect.class) + @RequiresDialect(HSQLDialect.class) + @RequiresDialect(DerbyDialect.class) + @RequiresDialect(MySQLDialect.class) + @RequiresDialect(SybaseDialect.class) + @RequiresDialect(MariaDBDialect.class) + // it's failing on the other dialects due to a bug in query translator public void testMaxindexMaxelement(SessionFactoryScope scope) { scope.inTransaction( session -> {