From a47f8c28714da1b7ee094a0e97f29db08a937194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Thu, 9 Nov 2023 14:24:44 +0100 Subject: [PATCH] HSEARCH-5000 Disable tests failing with Hibernate ORM 6.4 because of https://hibernate.atlassian.net/browse/HHH-17408 --- .../association/AutomaticIndexingPolymorphicAssociationIT.java | 2 ++ ...AutomaticIndexingPolymorphicAssociationPropertyAccessIT.java | 2 ++ .../PolymorphicAssociationContainedInTargetTest.java | 2 ++ 3 files changed, 6 insertions(+) diff --git a/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/AutomaticIndexingPolymorphicAssociationIT.java b/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/AutomaticIndexingPolymorphicAssociationIT.java index 4845c45637c..2d8bf3ba808 100644 --- a/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/AutomaticIndexingPolymorphicAssociationIT.java +++ b/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/AutomaticIndexingPolymorphicAssociationIT.java @@ -23,6 +23,7 @@ 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; @@ -30,6 +31,7 @@ @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"; diff --git a/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/AutomaticIndexingPolymorphicAssociationPropertyAccessIT.java b/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/AutomaticIndexingPolymorphicAssociationPropertyAccessIT.java index ce5fe36890f..f7543e1f77c 100644 --- a/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/AutomaticIndexingPolymorphicAssociationPropertyAccessIT.java +++ b/integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/AutomaticIndexingPolymorphicAssociationPropertyAccessIT.java @@ -23,6 +23,7 @@ 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; @@ -30,6 +31,7 @@ @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"; diff --git a/integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/polymorphism/PolymorphicAssociationContainedInTargetTest.java b/integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/polymorphism/PolymorphicAssociationContainedInTargetTest.java index 80a7d4242b9..723bb1bf76e 100644 --- a/integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/polymorphism/PolymorphicAssociationContainedInTargetTest.java +++ b/integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/polymorphism/PolymorphicAssociationContainedInTargetTest.java @@ -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; @@ -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();