HHH-16829 skip test on TiDB

This commit is contained in:
Gavin King 2023-06-25 15:26:13 +02:00
parent 0126d96d03
commit d6ffb75251
1 changed files with 3 additions and 0 deletions

View File

@ -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) {