Skip to content

Commit ba00d0d

Browse files
blafondDavideD
authored andcommitted
[#1500] Skip LobTypeTest for Db2 and Postgres
* Db2: Vert.x client doesn't support CLOB type * Postgres: Vert.x client doesn't support OID
1 parent fe37496 commit ba00d0d

File tree

1 file changed

+5
-3
lines changed
  • hibernate-reactive-core/src/test/java/org/hibernate/reactive/types

1 file changed

+5
-3
lines changed

hibernate-reactive-core/src/test/java/org/hibernate/reactive/types/LobTypeTest.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import org.hibernate.reactive.BaseReactiveTest;
1414
import org.hibernate.reactive.testing.DBSelectionExtension;
1515

16-
import org.junit.jupiter.api.Disabled;
16+
1717
import org.junit.jupiter.api.Test;
1818
import org.junit.jupiter.api.extension.RegisterExtension;
1919

@@ -27,18 +27,20 @@
2727
import jakarta.persistence.Version;
2828

2929
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.DB2;
30+
import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.POSTGRESQL;
3031
import static org.hibernate.reactive.testing.DBSelectionExtension.skipTestsFor;
3132
import static org.junit.jupiter.api.Assertions.assertEquals;
3233
import static org.junit.jupiter.api.Assertions.assertTrue;
3334

3435
/**
3536
* Test types that we expect to work only on selected DBs.
3637
*/
37-
@Disabled // [ORM-6] Creates the columns in Postgres as oid, and return null
3838
public class LobTypeTest extends BaseReactiveTest {
3939

40+
// Db2: Client doesn't support CLOB type. See https://github.com/hibernate/hibernate-reactive/issues/1662
41+
// Postgres: Client doesn't support OID type: See https://github.com/hibernate/hibernate-reactive/issues/1663
4042
@RegisterExtension
41-
public DBSelectionExtension selectionRule = skipTestsFor( DB2 );
43+
public DBSelectionExtension selectionRule = skipTestsFor( DB2, POSTGRESQL );
4244

4345
@Override
4446
protected Collection<Class<?>> annotatedEntities() {

0 commit comments

Comments
 (0)