GitHub user aledsage opened a pull request:
https://github.com/apache/brooklyn-server/pull/375
Tidy tests to always terminate ManagementContext
If we leave the management context running, it will not be garbage
collected (because its threads reference it, so it's not just about
reachability from the test class). This memory leak causes our tests to get
slower and slower on the jenkins build server.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aledsage/brooklyn-server
tests-close-ManagementContext
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/375.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #375
----
commit b053b67bb10d205b982fb00f08a498d288c19521
Author: Aled Sage <[email protected]>
Date: 2016-10-05T14:45:24Z
Tidy tests to always terminate ManagementContext
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---