Skip to content

Commit 457eaee

Browse files
committed
skip tests on Informix
1 parent c25c2fc commit 457eaee

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/lob/LobStringFunctionsTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@
77
import java.sql.Clob;
88
import java.util.List;
99

10+
import org.hibernate.community.dialect.InformixDialect;
1011
import org.hibernate.query.Query;
1112

1213
import org.hibernate.testing.orm.junit.JiraKey;
1314
import org.hibernate.testing.orm.junit.DomainModel;
1415
import org.hibernate.testing.orm.junit.SessionFactory;
1516
import org.hibernate.testing.orm.junit.SessionFactoryScope;
17+
import org.hibernate.testing.orm.junit.SkipForDialect;
1618
import org.junit.jupiter.api.AfterEach;
1719
import org.junit.jupiter.api.BeforeEach;
1820
import org.junit.jupiter.api.Test;
@@ -34,6 +36,7 @@
3436
annotatedClasses = LobStringFunctionsTest.TestEntity.class
3537
)
3638
@SessionFactory
39+
@SkipForDialect(dialectClass = InformixDialect.class, reason = "Informix does not allow these functions for LOBs")
3740
public class LobStringFunctionsTest {
3841

3942
private static final int LONG_STRING_SIZE = 3999;

hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/CheckConstraintsTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public void tearsDown() {
5656
}
5757

5858
@Test
59+
@RequiresDialectFeature( feature = DialectFeatureChecks.SupportsTableCheck.class)
5960
public void testCheckConstraintsAtEntityLevelAreApplied() throws Exception {
6061
createSchema( EntityLevelCheck.class );
6162
String fileContent = new String( Files.readAllBytes( output.toPath() ) ).toLowerCase()

0 commit comments

Comments
 (0)