Apache Lucene open-source search software
tests: add instance id to CoreContainer
Yonik Seeley314974bf482e
diff --git a/solr/src/java/org/apache/solr/core/CoreContainer.java b/solr/src/java/org/apache/solr/core/CoreContainer.javaindex d6b192d9203..784c76dce9c 100644--- a/solr/src/java/org/apache/solr/core/CoreContainer.java+++ b/solr/src/java/org/apache/solr/core/CoreContainer.java@@ -88,6 +88,7 @@ public class CoreContainerpublic CoreContainer() {solrHome = SolrResourceLoader.locateSolrHome();+ log.info("New CoreContainer: solrHome=" + solrHome + " instance="+System.identityHashCode(this));}private void initZooKeeper(String zkHost, int zkClientTimeout) {@@ -479,7 +480,7 @@ public class CoreContainerprotected void finalize() throws Throwable {try {if(!isShutDown){- log.error("CoreContainer was not shutdown prior to finalize(), indicates a bug -- POSSIBLE RESOURCE LEAK!!!");+ log.error("CoreContainer was not shutdown prior to finalize(), indicates a bug -- POSSIBLE RESOURCE LEAK!!! instance=" + System.identityHashCode(this));shutdown();}} finally {