You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Ilan Kirsh (JIRA)" <ji...@apache.org> on 2008/11/07 01:49:44 UTC

[jira] Commented: (JDO-613) Missing addTearDownClass in PersistenceManagerTest

    [ https://issues.apache.org/jira/browse/JDO-613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645643#action_12645643 ] 

Ilan Kirsh commented on JDO-613:
--------------------------------

It seems that the following addition to org.apache.jdo.tck.api.persistencemanager.cache.Retrieve should solve the problem:

    /**
     * @see JDO_Test#localSetUp()
     */
    protected void localSetUp() {
        addTearDownClass(PCPoint2.class);
        super.localSetUp();
    }

Also, a similar problem exists in org.apache.jdo.tck.api.persistencemanager.OptimisticFailure and should be solved by:

    /**
     * @see JDO_Test#localSetUp()
     */
    protected void localSetUp() {
        addTearDownClass(VersionedPCPoint.class);
        super.localSetUp();
    }


> Missing addTearDownClass in PersistenceManagerTest
> --------------------------------------------------
>
>                 Key: JDO-613
>                 URL: https://issues.apache.org/jira/browse/JDO-613
>             Project: JDO
>          Issue Type: Test
>          Components: tck2
>    Affects Versions: JDO 2 maintenance release 2
>            Reporter: Ilan Kirsh
>            Priority: Minor
>
> Missing:
>          addTearDownClass(PCPoint2.class);
> in PersistenceManagerTest.localSetUp (or Retrieve?)
> Some PCpoint2 instances (maybe generated by Retrieve) are not deleted.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.