[
https://issues.apache.org/jira/browse/SOLR-8900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15239372#comment-15239372
]
Mark Miller commented on SOLR-8900:
-----------------------------------
The downside to this is that because we currently track the objects, when a
test uses @SuppressObjectReleaseTracker, we can actually close the unreleased
objects and clean up the test and not interfere with the next test in that JVM.
Often, @SuppressObjectReleaseTracker is due to something that needs to be
fixed, but sometimes it is on purpose. Some failure tests purposely cause
behavior that avoids closing objects.
Hmm...
> The ObjectReleaseTracker should not reference actual objects.
> -------------------------------------------------------------
>
> Key: SOLR-8900
> URL: https://issues.apache.org/jira/browse/SOLR-8900
> Project: Solr
> Issue Type: Improvement
> Components: Tests
> Reporter: Mark Miller
> Assignee: Mark Miller
> Attachments: SOLR-8900.patch
>
>
> By tracking the actual objects we prevent normal garbage collection during
> the test - the more we track, the more we affect the tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]