skip a test on TiDB

as requested by @beikov
This commit is contained in:
Gavin 2022-11-28 17:16:48 +01:00 committed by Gavin King
parent 84be9faf70
commit 457872dbdd
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ import org.hibernate.annotations.OnDelete;
import org.hibernate.annotations.OnDeleteAction;
import org.hibernate.dialect.SybaseDialect;
import org.hibernate.dialect.TiDBDialect;
import org.hibernate.testing.orm.junit.DomainModel;
import org.hibernate.testing.orm.junit.SessionFactory;
import org.hibernate.testing.orm.junit.SessionFactoryScope;
@ -43,6 +44,7 @@ public class ToOneOnDeleteTest {
matchSubTypes = true,
reason = "Sybase does not support on delete actions"
)
@SkipForDialect(dialectClass = TiDBDialect.class)
public void testManyToOne(SessionFactoryScope scope) {
scope.inTransaction(
session -> {