04-24-06 12:58 PM
[ http://issues.apache.org/jira/browse/JDO-372?page=all ]
Craig Russell updated JDO-372:
------------------------------
Attachment: JDO-372.patch
Please review this patch. The patch deletes the three instances created in p
m2.
> ConcurrentPersistenceManagersSameClasses
- Failed on second run
> ---------------------------------------------------------------
>
> Key: JDO-372
> URL: http://issues.apache.org/jira/browse/JDO-372
> Project: JDO
> Type: Bug
> Reporter: Ilan Kirsh
> Attachments: JDO-372.patch
>
> Thanks to deleteTearDownClasses / deleteTearDownInstances, most test cases can run
on either a clean database or on an existing database. Unfortunately, it seems that
org.apache.jdo.tck. ConcurrentPersistenceManagersSameClasses
is different. Old objec
ts
are not deleted from the 2nd database that this test case uses, so findPoint
may return more than one result object, and the first result that is checke
d might be an old object from a previous run. Therefore, the test case passe
s the first run and may fai
l on any additional run on the same database files.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[ Post a follow-up to this message ]
|