Title: Message
 
MasterDetailTest.testPolymorphicCriteria() fails - at least in my case.
 
This test makes a polymorphic query for all persistent instances that derive from java.lang.Object.
It expects a result of two - created just before.
Unfortunately, at this stage, the database contains two others left by a previous test - MasterDetailTest.testOuterJoin().
 
The easiest solution is probably to modify MasterDetailTest.testOuterJoin() so it deleted the objects at the end of the test.
 
Another - safer - approach would be to create a common super-class that would be inherited by objects testPolymorphicCriteria() expects.
This way, the test becomes independent of the others.
 
 
Does anyone else experience the same failure ?
Should I post an entry in JIRA with a fix ?
 
 
-bertrand

Reply via email to