HHH-13241 Comment the test for now

We have issues with this test in both Javassist and ByteBuddy enhancers.

(cherry picked from commit bf78b73aa7)
This commit is contained in:
Guillaume Smet 2019-03-19 13:12:15 +01:00 committed by Gail Badner
parent 2e698d4744
commit e5873b9fe4
1 changed files with 5 additions and 3 deletions

View File

@ -6,8 +6,11 @@
*/
package org.hibernate.test.bytecode.enhancement.lazy.group;
import static org.hibernate.testing.transaction.TransactionUtil.doInHibernate;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Embeddable;
import javax.persistence.Entity;
@ -23,17 +26,15 @@ import org.hibernate.annotations.LazyToOne;
import org.hibernate.annotations.LazyToOneOption;
import org.hibernate.bytecode.enhance.spi.DefaultEnhancementContext;
import org.hibernate.bytecode.enhance.spi.UnloadedClass;
import org.hibernate.testing.TestForIssue;
import org.hibernate.testing.bytecode.enhancement.BytecodeEnhancerRunner;
import org.hibernate.testing.bytecode.enhancement.CustomEnhancementContext;
import org.hibernate.testing.bytecode.enhancement.EnhancerTestContext;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.hibernate.testing.transaction.TransactionUtil.doInHibernate;
/**
* Tests removing non-owning side of the bidirectional association,
* where owning side is in an embeddable.
@ -55,6 +56,7 @@ public class BidirectionalLazyGroupsInEmbeddableTest extends BaseCoreFunctionalT
}
@Test
@Ignore("Test is failing with Javassist and also fails with ByteBuddy if the mappings are moved to the fields.")
public void test() {
doInHibernate(