HHH-16829 skip test on TiDB
This commit is contained in:
parent
0126d96d03
commit
d6ffb75251
|
@ -7,15 +7,18 @@ import jakarta.persistence.GeneratedValue;
|
||||||
import jakarta.persistence.Id;
|
import jakarta.persistence.Id;
|
||||||
import org.hibernate.annotations.Collate;
|
import org.hibernate.annotations.Collate;
|
||||||
import org.hibernate.dialect.MySQLDialect;
|
import org.hibernate.dialect.MySQLDialect;
|
||||||
|
import org.hibernate.dialect.TiDBDialect;
|
||||||
import org.hibernate.testing.orm.junit.DomainModel;
|
import org.hibernate.testing.orm.junit.DomainModel;
|
||||||
import org.hibernate.testing.orm.junit.RequiresDialect;
|
import org.hibernate.testing.orm.junit.RequiresDialect;
|
||||||
import org.hibernate.testing.orm.junit.SessionFactory;
|
import org.hibernate.testing.orm.junit.SessionFactory;
|
||||||
import org.hibernate.testing.orm.junit.SessionFactoryScope;
|
import org.hibernate.testing.orm.junit.SessionFactoryScope;
|
||||||
|
import org.hibernate.testing.orm.junit.SkipForDialect;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
@SessionFactory
|
@SessionFactory
|
||||||
@DomainModel(annotatedClasses = MySQLCollateTest.Message.class)
|
@DomainModel(annotatedClasses = MySQLCollateTest.Message.class)
|
||||||
@RequiresDialect(MySQLDialect.class)
|
@RequiresDialect(MySQLDialect.class)
|
||||||
|
@SkipForDialect(dialectClass = TiDBDialect.class)
|
||||||
public class MySQLCollateTest {
|
public class MySQLCollateTest {
|
||||||
|
|
||||||
@Test void test(SessionFactoryScope scope) {
|
@Test void test(SessionFactoryScope scope) {
|
||||||
|
|
Loading…
Reference in New Issue