[ https://issues.apache.org/jira/browse/SOLR-15660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17534077#comment-17534077 ]
Michael Gibney commented on SOLR-15660: --------------------------------------- More concretely: I think the thread in the randomizedtesting issue you reported comes from [here|https://github.com/apache/zookeeper/blob/master/zookeeper-server/src/main/java/org/apache/zookeeper/server/NIOServerCnxnFactory.java#L872-L874], invoked (with several extra intermediate layers) via JdbcTest's superclass SolrCloudTestCase.shutdownCluster(). {{expirerThread}} is interrupted (and promptly exits), but not necessarily before the interrupting thread returns (and thread leak detection). Unlike the case with {{ZooKeeper.close()}} ([apache/solr#842|https://github.com/apache/solr/pull/842]), there's no workaround to join() on {{expirerThread}}. So conclusively, ThreadLeakLinger is indeed the only option. > Remove universal 10 second test thread leak linger. > --------------------------------------------------- > > Key: SOLR-15660 > URL: https://issues.apache.org/jira/browse/SOLR-15660 > Project: Solr > Issue Type: Test > Components: Tests > Reporter: Mark Robert Miller > Assignee: Mark Robert Miller > Priority: Minor > Fix For: 9.0 > > Attachments: screenshot-1.png > > Time Spent: 40m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org