Apache Lucene open-source search software
SOLR-7603: remove extra logging added to diagnose problem - failure hasn't reappeared since fix applied in r1682570
Chris M. Hostetterf346fc0f2196
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex ae0f5bbe6e0..7861b70681b 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -141,6 +141,8 @@ Other Changes* SOLR-7645: Remove explicitly defined request handlers from example and test solrconfig's that arealready defined implicitly, such as /admin/ping, /admin/system, and several others. (ehatcher)+* SOLR-7603: Fix test only bug in UpdateRequestProcessorFactoryTest (hossman)+================== 5.2.1 ==================Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this releasediff --git a/solr/core/src/test/org/apache/solr/update/processor/UpdateRequestProcessorFactoryTest.java b/solr/core/src/test/org/apache/solr/update/processor/UpdateRequestProcessorFactoryTest.javaindex 101be70f083..f6f595004bf 100644--- a/solr/core/src/test/org/apache/solr/update/processor/UpdateRequestProcessorFactoryTest.java+++ b/solr/core/src/test/org/apache/solr/update/processor/UpdateRequestProcessorFactoryTest.java@@ -26,7 +26,6 @@ import java.util.List;import org.apache.solr.core.SolrCore;import org.apache.solr.response.SolrQueryResponse;import org.apache.solr.util.AbstractSolrTestCase;-import org.junit.AfterClass;import org.junit.BeforeClass;/**@@ -34,23 +33,11 @@ import org.junit.BeforeClass;*/public class UpdateRequestProcessorFactoryTest extends AbstractSolrTestCase {- private static org.apache.log4j.Level SAVED_LEVEL = null; // SOLR-7603 - remove-@BeforeClasspublic static void beforeClass() throws Exception {-- // SOLR-7603 - remove- SAVED_LEVEL = org.apache.log4j.LogManager.getRootLogger().getLevel();- org.apache.log4j.LogManager.getRootLogger().setLevel(org.apache.log4j.Level.DEBUG);-initCore("solrconfig-transformers.xml", "schema.xml");}- @AfterClass- public static void fixLogLevelAfterClass() throws Exception { // SOLR-7603 - remove- org.apache.log4j.LogManager.getRootLogger().setLevel(SAVED_LEVEL);- }-public void testConfiguration() throws Exception{SolrCore core = h.getCore();