Hi Craig,

the InstanceLifecycleListenerAttach test case throws a duplicate key excepton for application identity when the TCK runs twice or more times. The reason is that method AbstractInstanceLifecycleListener.localTearDown misses a call super.localTearDown(), e.g.

    /**
     * Clean up after lifecycle tests:
     * Unregister the LifecycleListener.
     */
    protected void localTearDown() {
        super.localTearDown();
        removeListener();
    }

When we implemented the cleanup infrastructure, we decided to place the default cleanup in method JDO_Test.localTearDown rather than in JDO_Test.tearDown. Thus, test cases overriding localTearDown() must call super.localTearDown().

Regards,
Michael
--
-------------------------------------------------------------------
Michael Watzek                  [EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED]        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/
-------------------------------------------------------------------

Reply via email to