mirror of https://github.com/apache/lucene.git
SOLR-2367: DataImportHandler unit tests are very noisy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1071417 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
88d04cdf50
commit
25177837b0
|
@ -86,6 +86,10 @@ Other Changes
|
|||
* SOLR-1821: Fix TimeZone-dependent test failure in TestEvaluatorBag.
|
||||
(Chris Male via rmuir)
|
||||
|
||||
* SOLR-2367: Reduced noise in test output by ensuring the properties file can be written.
|
||||
(Gunnlaugur Thor Briem via rmuir)
|
||||
|
||||
|
||||
Build
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.junit.BeforeClass;
|
|||
public class TestTikaEntityProcessor extends AbstractDataImportHandlerTestCase {
|
||||
@BeforeClass
|
||||
public static void beforeClass() throws Exception {
|
||||
initCore("dataimport-solrconfig.xml", "dataimport-schema-no-unique-key.xml", "solr-dihextras");
|
||||
initCore("dataimport-solrconfig.xml", "dataimport-schema-no-unique-key.xml", getFile("solr-dihextras").getAbsolutePath());
|
||||
}
|
||||
|
||||
public void testIndexingWithTikaEntityProcessor() throws Exception {
|
||||
|
|
|
@ -54,7 +54,7 @@ public abstract class AbstractDataImportHandlerTestCase extends
|
|||
|
||||
// note, a little twisted that we shadow this static method
|
||||
public static void initCore(String config, String schema) throws Exception {
|
||||
initCore(config, schema, "solr-dih");
|
||||
initCore(config, schema, getFile("solr-dih").getAbsolutePath());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue