qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Ritchie (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-2028) Broker test do not cleanup ApplicationRegistry that they create
Date Tue, 04 Aug 2009 14:11:14 GMT
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
             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:dev-subscribe@qpid.apache.org


Mime
View raw message