Summary: | "testCreateEntityManagerFactory2" failed with "junit.framework.AssertionFailedError: PersistenceException is expected" on WebSphere 7.0.0.5 | ||
---|---|---|---|
Product: | z_Archived | Reporter: | Yiping Zhao <yiping.zhao> |
Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P2 | CC: | edwin.tang, kevin.yuan |
Version: | unspecified | Keywords: | test |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Yiping Zhao
2009-10-14 10:57:29 EDT
This bug fix did not make the cut off for 2.0.0. We are deferring the bugs to Future where we can properly sort them all together based on community votes and severity. We will then assign them accordingly to future patch sets and releases. Changing the priority of the bugs that have been recently triaged to future. Targetting them to P2 will differentiate them from the P3s that have been triaged into future earlier. By fixing the bug, add following condition is teh beginning of the test to exclude it from running on WebSphere: if (getServerSession().getServerPlatform() != null && getServerSession().getServerPlatform() instanceof WebSphere_7_Platform){ warning("The test <testCreateEntityManagerFactory2> is not supported on WebSphere, because the ejb3.0 spec doesn't say that the PersistenceException must throw at this situation, just EclipseLink's implementation beyond the spec. So this test should not run on WebSphere 7.0.0.5"); return; } The change has been checked in Main as revision 6499, 2.0.1 as revision 6498, 1.2 as revision 6500 and 1.1.0 as revision 6501. code is reviewed by Edwin Tang. The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |