disable test on some dialects

This commit is contained in:
Gavin King 2022-01-07 23:13:10 +01:00
parent 77aa6ab244
commit fc079ba226
1 changed files with 10 additions and 0 deletions

View File

@ -9,8 +9,11 @@ package org.hibernate.orm.test.query.hql;
import org.hibernate.QueryException; import org.hibernate.QueryException;
import org.hibernate.dialect.DerbyDialect; import org.hibernate.dialect.DerbyDialect;
import org.hibernate.dialect.H2Dialect;
import org.hibernate.dialect.HSQLDialect;
import org.hibernate.dialect.MariaDBDialect; import org.hibernate.dialect.MariaDBDialect;
import org.hibernate.dialect.MySQLDialect; import org.hibernate.dialect.MySQLDialect;
import org.hibernate.dialect.SybaseDialect;
import org.hibernate.testing.orm.domain.StandardDomainModel; import org.hibernate.testing.orm.domain.StandardDomainModel;
import org.hibernate.testing.orm.domain.gambit.EntityOfBasics; import org.hibernate.testing.orm.domain.gambit.EntityOfBasics;
import org.hibernate.testing.orm.domain.gambit.EntityOfLists; import org.hibernate.testing.orm.domain.gambit.EntityOfLists;
@ -87,6 +90,13 @@ public class FunctionTests {
} }
@Test @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) { public void testMaxindexMaxelement(SessionFactoryScope scope) {
scope.inTransaction( scope.inTransaction(
session -> { session -> {