db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilan Kirsh (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-613) Missing addTearDownClass in PersistenceManagerTest
Date Fri, 07 Nov 2008 00:49:44 GMT

    [ 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.


Mime
View raw message