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
Reporter: 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.