Skip to content

Commit

Permalink
[hibernate#1791] Disable CascadeTest#testCascade
Browse files Browse the repository at this point in the history
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
  • Loading branch information
DavideD committed Jan 12, 2024
1 parent 3a49d3b commit 129c0a7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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) {

Expand Down

0 comments on commit 129c0a7

Please sign in to comment.