| Summary: | three tests failed in JPA-SRG with eclipselink.weaving.lazy 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 three failures occurred: 1. testIsLoadedAttribute --------------------- junit.framework.AssertionFailedError: PersistenceUnitUtil says address is loaded when it is not at org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testIsLoadedAttribute(EntityManagerJUnitTestSuite.java:9590) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:514) 2. testIsLoadedWithReference ------------------------- junit.framework.AssertionFailedError: ProviderUtil did not return NOT_LOADED for isLoaded for manager when it should. at org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testIsLoadedWithReference(EntityManagerJUnitTestSuite.java:9672) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:514) 3. testIsLoadedWithoutReferenceAttribute ------------------------------------- junit.framework.AssertionFailedError: ProviderUtil did not return NOT_LOADED for isLoaded for manager when it should. at org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testIsLoadedWithoutReferenceAttribute(EntityManagerJUnitTestSuite.java:9763) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:514) Not seen in recent runs. The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |