Skip to content

Commit

Permalink
HSEARCH-5000 Disable tests failing with Hibernate ORM 6.4 because of h…
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Nov 9, 2023
1 parent f5b26c0 commit a47f8c2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@
import org.hibernate.search.util.impl.test.annotation.TestForIssue;

import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
import org.junit.jupiter.api.extension.RegisterExtension;

@TestForIssue(jiraKey = "HSEARCH-3156")
@PortedFromSearch5(original = "org.hibernate.search.test.embedded.polymorphism.PolymorphicAssociationContainedInTargetTest")
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
@Disabled("https://hibernate.atlassian.net/browse/HHH-17408")
class AutomaticIndexingPolymorphicAssociationIT {

private static final String INIT_NAME = "initname";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@
import org.hibernate.search.util.impl.test.annotation.TestForIssue;

import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
import org.junit.jupiter.api.extension.RegisterExtension;

@TestForIssue(jiraKey = "HSEARCH-1241")
@PortedFromSearch5(original = "org.hibernate.search.test.embedded.polymorphism.PolymorphicAssociationPropertyAccessTest")
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
@Disabled("https://hibernate.atlassian.net/browse/HHH-17408")
class AutomaticIndexingPolymorphicAssociationPropertyAccessIT {

private static final String INIT_NAME = "initname";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.hibernate.search.test.SearchTestBase;
import org.hibernate.search.testsupport.TestForIssue;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import org.apache.lucene.index.Term;
Expand All @@ -39,6 +40,7 @@ class PolymorphicAssociationContainedInTargetTest extends SearchTestBase {

// Nominal case: the level3 refers to a level2 of a configured type (DerivedLevel2).
@Test
@Disabled("https://hibernate.atlassian.net/browse/HHH-17408")
void testPolymorphicAssociationConfiguredType() {
try ( Session session = openSession() ) {
Transaction transaction = session.beginTransaction();
Expand Down

0 comments on commit a47f8c2

Please sign in to comment.