SOLR-7603: remove extra logging added to diagnose problem - failure hasn't reappeared since fix applied in r1682570

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684714 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2015-06-10 17:03:03 +00:00
parent 3ad2bf92c4
commit f346fc0f21
2 changed files with 2 additions and 13 deletions

View File

@ -141,6 +141,8 @@ Other Changes
* SOLR-7645: Remove explicitly defined request handlers from example and test solrconfig's that are
already 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 release

View File

@ -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
@BeforeClass
public 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();