From d6ffb75251642e9b894a78e4539b6ee356cb7812 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Sun, 25 Jun 2023 15:26:13 +0200 Subject: [PATCH] HHH-16829 skip test on TiDB --- .../orm/test/annotations/collate/MySQLCollateTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collate/MySQLCollateTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collate/MySQLCollateTest.java index 99999df55b..8a86fbc504 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collate/MySQLCollateTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collate/MySQLCollateTest.java @@ -7,15 +7,18 @@ import jakarta.persistence.GeneratedValue; import jakarta.persistence.Id; import org.hibernate.annotations.Collate; import org.hibernate.dialect.MySQLDialect; +import org.hibernate.dialect.TiDBDialect; import org.hibernate.testing.orm.junit.DomainModel; import org.hibernate.testing.orm.junit.RequiresDialect; import org.hibernate.testing.orm.junit.SessionFactory; import org.hibernate.testing.orm.junit.SessionFactoryScope; +import org.hibernate.testing.orm.junit.SkipForDialect; import org.junit.jupiter.api.Test; @SessionFactory @DomainModel(annotatedClasses = MySQLCollateTest.Message.class) @RequiresDialect(MySQLDialect.class) +@SkipForDialect(dialectClass = TiDBDialect.class) public class MySQLCollateTest { @Test void test(SessionFactoryScope scope) {