Skip to content

Apache Lucene open-source search software

tests: decref, not close

Yonik Seeleyfb93148568db
diff --git a/solr/src/test/org/apache/solr/util/SolrPluginUtilsTest.java b/solr/src/test/org/apache/solr/util/SolrPluginUtilsTest.java
index 325f1f6354b..70c1364015c 100644
--- a/solr/src/test/org/apache/solr/util/SolrPluginUtilsTest.java
+++ b/solr/src/test/org/apache/solr/util/SolrPluginUtilsTest.java
@@ -83,7 +83,7 @@ public class SolrPluginUtilsTest extends SolrTestCaseJ4 {
for (SolrDocument document : list) {
assertNotNull(document.get("val_t"));
}
- holder.close();
+ holder.decref();
}
@Test