You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org> on 2008/10/30 12:35:45 UTC

[jira] Updated: (QPID-1223) All System tests not extending QpidTestCase do not correctly clean up VM State.

     [ https://issues.apache.org/jira/browse/QPID-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack updated QPID-1223:
-----------------------------------

    Fix Version/s:     (was: M4)

Moving items not being worked on for M4 afaik out of scope

> All System tests not extending QpidTestCase do not correctly clean up VM State.
> -------------------------------------------------------------------------------
>
>                 Key: QPID-1223
>                 URL: https://issues.apache.org/jira/browse/QPID-1223
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: M3
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>
> Summary:
> At least the TimeToLiveTest which does not extend QpidTestCase does not correctly clean up in tearDown.
> Currently it only removes the VMBroker viaTransportConnection.killallBrokers() this howver does NOT remove the static ApplicationRegistry. So unless the tests are forked (they are not by any of the profiles)  the state of this ApplicationRegistry will be be shared by the next test(which may correctly remove it).
> We either need to convert the last few remaining tests or at least ensure they all remove the ApplicationRegistry when they are done.
> Otherwise we may endup with spurious test failures such as the one attached in the comments.

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