| Summary: | four tests failed in JPA-SRG with eclipselink.weaving.internal setting false | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kevin Yuan <kevin.yuan> |
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | CC: | martin.grebac, tom.ware |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Kevin Yuan
With this flag when weaving is not used (add the following command within "test-srg" target in build.xml during run tests: <param name="TEST_WEAVING" value="-DTEST_NO_WEAVING=true"/>), there are the following four failures occurred: 1. testCloneable ------------- junit.framework.AssertionFailedError: Changing clone address reset original to null. at org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testCloneable(EntityManagerJUnitTestSuite.java:5818) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:514) 2. testSetFieldForPropertyAccess ----------------------------- junit.framework.AssertionFailedError: The manager was not correctly persisted. at org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testSetFieldForPropertyAccess(EntityManagerJUnitTestSuite.java:6736) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:514) 3. testSetFieldForPropertyAccessWithNewEM -------------------------------------- junit.framework.AssertionFailedError: The manager was not correctly persisted. at org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testSetFieldForPropertyAccessWithNewEM(EntityManagerJUnitTestSuite.java:6889) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:514) 4. testSetFieldForPropertyAccessWithRefresh ---------------------------------------- junit.framework.AssertionFailedError: The manager was not correctly persisted. at org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testSetFieldForPropertyAccessWithRefresh(EntityManagerJUnitTestSuite.java:6812) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:514) *** Bug 337369 has been marked as a duplicate of this bug. *** Not seen in recent runs. The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |