diff --git a/hibernate-reactive-core/src/test/java/org/hibernate/reactive/IdentifierGenerationTypeTest.java b/hibernate-reactive-core/src/test/java/org/hibernate/reactive/IdentifierGenerationTypeTest.java index a24d65238..7544c70b2 100644 --- a/hibernate-reactive-core/src/test/java/org/hibernate/reactive/IdentifierGenerationTypeTest.java +++ b/hibernate-reactive-core/src/test/java/org/hibernate/reactive/IdentifierGenerationTypeTest.java @@ -15,10 +15,16 @@ import javax.persistence.Id; +import org.hibernate.reactive.testing.DatabaseSelectionRule; + +import org.junit.Rule; import org.junit.Test; import io.vertx.ext.unit.TestContext; +import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.DB2; +import static org.hibernate.reactive.testing.DatabaseSelectionRule.skipTestsFor; + /** * Check that the generated id can be of a specific type * @@ -26,6 +32,11 @@ */ public class IdentifierGenerationTypeTest extends BaseReactiveTest { + // Vertx DB2 client is throwing "java.lang.IllegalStateException: Needed to have 6 in buffer but only had 0." + // TODO: remove rule when https://github.com/eclipse-vertx/vertx-sql-client/issues/1208 is resolved + @Rule + public DatabaseSelectionRule skip = skipTestsFor( DB2 ); + @Override protected Collection> annotatedEntities() { return List.of( LongEntity.class, IntegerEntity.class, ShortEntity.class );