[
https://issues.apache.org/jira/browse/LUCENE-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dawid Weiss updated LUCENE-3985:
--------------------------------
Attachment: LUCENE-3985.patch
A patch that adds refactored thread leak detection (at the suite level),
improved reporting, suite timeouts and other whistles.
Check out TestWorstCaseTestBehavior and uncomment methods demonstrating these
features if you'd like to see what it looks like.
Solr tests pass because I added this:
{code}
+ // THESE ARE LIKELY BUGS - these threads should be closed!
+ if (threadName.startsWith("Overseer-") ||
+ threadName.startsWith("aliveCheckExecutor-") ||
+ threadName.startsWith("concurrentUpdateScheduler-")) {
+ return true;
+ }
{code}
These should be fixed but I have too little Solr knowledge to do it myself.
Also, one entire test suite is commented out -- FullSolrCloudTest. This one
leaks threads that don't look safe to me.
> Refactor support for thread leaks
> ---------------------------------
>
> Key: LUCENE-3985
> URL: https://issues.apache.org/jira/browse/LUCENE-3985
> Project: Lucene - Core
> Issue Type: Improvement
> Components: general/test
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
> Priority: Minor
> Fix For: 4.0
>
> Attachments: LUCENE-3985.patch
>
>
> This will be duplicated in the runner and in LuceneTestCase; try to
> consolidate.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]