[ 
https://issues.apache.org/jira/browse/QPID-2028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790752#action_12790752
 ] 

Martin Ritchie commented on QPID-2028:
--------------------------------------

Current trunk 'ant test' run doesn't highlight that ARs are not being cleaned 
up. Resoloving this issue.

> Broker test do not cleanup ApplicationRegistry that they create
> ---------------------------------------------------------------
>
>                 Key: QPID-2028
>                 URL: https://issues.apache.org/jira/browse/QPID-2028
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: 0.6
>
>
> Summmary:
> The non-unit tests in the broker package that cause an ApplicationRegistry to 
> be created do not correctly remove this registry at the end of the test. This 
> is what causes the ApplicationRegistry errors at the end of the ant run.
> Sharing ARs between tests will increase the likelyhood of cross contamination 
> of tests leading to spurious failures.
> The tests should ensure that the correctly close any AR they create.
> This is more relevant now as the new broker logging uses a ThreadLocal to 
> maintain the current logger and only through a correct clean up of all tests 
> can it be successfully tested in isolation.

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


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to