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:
Robert Muir 2011-02-16 21:56:34 +00:00
parent 88d04cdf50
commit 25177837b0
3 changed files with 6 additions and 2 deletions

View File

@ -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
----------------------

View File

@ -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 {

View File

@ -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