This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new a3d9b52f35b SOLR-18188: httpClient is left open causing flaky nightly
o.a.s.cloud.ChaosMonkeyNothingIsSafeTest (#4709)
a3d9b52f35b is described below
commit a3d9b52f35b24035c05dcd0ea8900a9b0e32d13b
Author: Eric Pugh <[email protected]>
AuthorDate: Thu Aug 6 09:32:11 2026 -0400
SOLR-18188: httpClient is left open causing flaky nightly
o.a.s.cloud.ChaosMonkeyNothingIsSafeTest (#4709)
---
.../java/org/apache/solr/cloud/FullThrottleStoppableIndexingThread.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/solr/test-framework/src/java/org/apache/solr/cloud/FullThrottleStoppableIndexingThread.java
b/solr/test-framework/src/java/org/apache/solr/cloud/FullThrottleStoppableIndexingThread.java
index 30c8f67d406..6396f109b67 100644
---
a/solr/test-framework/src/java/org/apache/solr/cloud/FullThrottleStoppableIndexingThread.java
+++
b/solr/test-framework/src/java/org/apache/solr/cloud/FullThrottleStoppableIndexingThread.java
@@ -31,6 +31,7 @@ import org.apache.solr.client.solrj.impl.HttpSolrClient;
import org.apache.solr.client.solrj.jetty.ConcurrentUpdateJettySolrClient;
import org.apache.solr.client.solrj.jetty.HttpJettySolrClient;
import org.apache.solr.common.SolrInputDocument;
+import org.apache.solr.common.util.IOUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -145,6 +146,7 @@ class FullThrottleStoppableIndexingThread extends
StoppableIndexingThread {
log.warn("Exception waiting for the indexing client to finish", e);
} finally {
cusc.shutdownNow();
+ IOUtils.closeQuietly(httpClient);
}
}