mirror of https://github.com/apache/lucene.git
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:
parent
3ad2bf92c4
commit
f346fc0f21
|
@ -141,6 +141,8 @@ Other Changes
|
||||||
* SOLR-7645: Remove explicitly defined request handlers from example and test solrconfig's that are
|
* 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)
|
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 ==================
|
================== 5.2.1 ==================
|
||||||
|
|
||||||
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
|
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
|
||||||
|
|
|
@ -26,7 +26,6 @@ import java.util.List;
|
||||||
import org.apache.solr.core.SolrCore;
|
import org.apache.solr.core.SolrCore;
|
||||||
import org.apache.solr.response.SolrQueryResponse;
|
import org.apache.solr.response.SolrQueryResponse;
|
||||||
import org.apache.solr.util.AbstractSolrTestCase;
|
import org.apache.solr.util.AbstractSolrTestCase;
|
||||||
import org.junit.AfterClass;
|
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,23 +33,11 @@ import org.junit.BeforeClass;
|
||||||
*/
|
*/
|
||||||
public class UpdateRequestProcessorFactoryTest extends AbstractSolrTestCase {
|
public class UpdateRequestProcessorFactoryTest extends AbstractSolrTestCase {
|
||||||
|
|
||||||
private static org.apache.log4j.Level SAVED_LEVEL = null; // SOLR-7603 - remove
|
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClass() throws Exception {
|
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");
|
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
|
public void testConfiguration() throws Exception
|
||||||
{
|
{
|
||||||
SolrCore core = h.getCore();
|
SolrCore core = h.getCore();
|
||||||
|
|
Loading…
Reference in New Issue