[
https://issues.apache.org/jira/browse/SOLR-16182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Risden updated SOLR-16182:
--------------------------------
Description:
https://lists.apache.org/[email protected]:lte=1M:org.apache.solr.client.solrj.impl.CloudSolrClientBuilderTest.classMethod
I personally haven't seen this fail locally, but looking at the test,
ZkClientClusterStateProvider is created but never closed.
[~magibney] pointed out in the PR this problem most likely exists elsewhere so
will fix it up all at once:
{code:java}
> find solr -name '*.java' | xargs grep -l 'ZkClientClusterStateProvider\.from('
solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientMultiConstructorTest.java
solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientBuilderTest.java
solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudHttp2SolrClientTest.java
solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudHttp2SolrClientBuilderTest.java
solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java
solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudHttp2SolrClientMultiConstructorTest.java
{code}
was:
https://lists.apache.org/[email protected]:lte=1M:org.apache.solr.client.solrj.impl.CloudSolrClientBuilderTest.classMethod
I personally haven't seen this fail locally, but looking at the test,
ZkClientClusterStateProvider is created but never closed.
> Close ZkClientClusterStateProvider in tests to avoid thread leak
> ----------------------------------------------------------------
>
> Key: SOLR-16182
> URL: https://issues.apache.org/jira/browse/SOLR-16182
> Project: Solr
> Issue Type: Test
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Tests
> Reporter: Kevin Risden
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> https://lists.apache.org/[email protected]:lte=1M:org.apache.solr.client.solrj.impl.CloudSolrClientBuilderTest.classMethod
> I personally haven't seen this fail locally, but looking at the test,
> ZkClientClusterStateProvider is created but never closed.
> [~magibney] pointed out in the PR this problem most likely exists elsewhere
> so will fix it up all at once:
> {code:java}
> > find solr -name '*.java' | xargs grep -l
> > 'ZkClientClusterStateProvider\.from('
> solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientMultiConstructorTest.java
> solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientBuilderTest.java
> solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudHttp2SolrClientTest.java
> solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudHttp2SolrClientBuilderTest.java
> solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java
> solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudHttp2SolrClientMultiConstructorTest.java
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]