From 129c0a77b558b3ff3203288d9c105f1b433910bd Mon Sep 17 00:00:00 2001 From: Davide D'Alto Date: Fri, 12 Jan 2024 13:03:52 +0100 Subject: [PATCH] [#1791] Disable CascadeTest#testCascade It doesn't work with the latest Vert.x 4.4. It's been fixed in Vert.x 4.5, but we cannot upgrade to it in a micro release fix --- .../src/test/java/org/hibernate/reactive/CascadeTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hibernate-reactive-core/src/test/java/org/hibernate/reactive/CascadeTest.java b/hibernate-reactive-core/src/test/java/org/hibernate/reactive/CascadeTest.java index ec94d6c8a8..1b9050d504 100644 --- a/hibernate-reactive-core/src/test/java/org/hibernate/reactive/CascadeTest.java +++ b/hibernate-reactive-core/src/test/java/org/hibernate/reactive/CascadeTest.java @@ -13,7 +13,9 @@ import org.hibernate.cfg.Configuration; import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledIf; import io.vertx.junit5.Timeout; import io.vertx.junit5.VertxTestContext; @@ -36,6 +38,8 @@ import jakarta.persistence.Version; import static java.util.concurrent.TimeUnit.MINUTES; +import static org.hibernate.reactive.containers.DatabaseConfiguration.DBType.MARIA; +import static org.hibernate.reactive.containers.DatabaseConfiguration.dbType; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; @@ -80,6 +84,7 @@ public void testQuery(VertxTestContext context) { ); } + @Disabled("It doesn't work with Vert.x 4.4 (it works with Vert.x 4.5)") @Test public void testCascade(VertxTestContext context) {