mirror of https://github.com/apache/lucene.git
SOLR-12733: SolrMetricReporterTest failure
This commit is contained in:
parent
b4a1548248
commit
37375ae600
|
@ -313,6 +313,8 @@ Bug Fixes
|
|||
|
||||
* SOLR-12728: RequestLoggingTest fails on occasion, not reproducible (Erick Erickson)
|
||||
|
||||
* SOLR-12733: SolrMetricReporterTest failure (Erick Erickson, David Smiley)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -20,15 +20,15 @@ import java.util.HashMap;
|
|||
import java.util.Map;
|
||||
import java.util.Random;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
import org.apache.solr.common.params.CoreAdminParams;
|
||||
import org.apache.solr.core.PluginInfo;
|
||||
import org.apache.solr.metrics.reporters.MockMetricReporter;
|
||||
import org.apache.solr.schema.FieldType;
|
||||
import org.junit.Test;
|
||||
|
||||
public class SolrMetricReporterTest extends LuceneTestCase {
|
||||
public class SolrMetricReporterTest extends SolrTestCaseJ4 {
|
||||
|
||||
@Test
|
||||
public void testInit() throws Exception {
|
||||
|
|
|
@ -26,14 +26,14 @@ import java.util.Locale;
|
|||
import java.util.Map;
|
||||
import java.util.TimeZone;
|
||||
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.solr.SolrTestCaseJ4;
|
||||
|
||||
import static org.apache.solr.util.DateMathParser.UTC;
|
||||
|
||||
/**
|
||||
* Tests that the functions in DateMathParser
|
||||
*/
|
||||
public class DateMathParserTest extends LuceneTestCase {
|
||||
public class DateMathParserTest extends SolrTestCaseJ4 {
|
||||
|
||||
/**
|
||||
* A formatter for specifying every last nuance of a Date for easy
|
||||
|
|
Loading…
Reference in New Issue