mirror of https://github.com/apache/lucene.git
SOLR-10032: Ignore tests that run no test methods.
This commit is contained in:
parent
7467866364
commit
730df22e40
|
@ -45,6 +45,7 @@ import java.util.Map;
|
||||||
* @see org.apache.solr.handler.dataimport.MailEntityProcessor
|
* @see org.apache.solr.handler.dataimport.MailEntityProcessor
|
||||||
* @since solr 1.4
|
* @since solr 1.4
|
||||||
*/
|
*/
|
||||||
|
@Ignore("Needs a Mock Mail Server to work")
|
||||||
public class TestMailEntityProcessor extends AbstractDataImportHandlerTestCase {
|
public class TestMailEntityProcessor extends AbstractDataImportHandlerTestCase {
|
||||||
|
|
||||||
// Credentials
|
// Credentials
|
||||||
|
|
|
@ -25,6 +25,7 @@ import org.apache.hadoop.io.Text;
|
||||||
import org.apache.hadoop.mrunit.mapreduce.MapDriver;
|
import org.apache.hadoop.mrunit.mapreduce.MapDriver;
|
||||||
import org.apache.hadoop.mrunit.types.Pair;
|
import org.apache.hadoop.mrunit.types.Pair;
|
||||||
import org.apache.lucene.util.Constants;
|
import org.apache.lucene.util.Constants;
|
||||||
|
import org.apache.lucene.util.LuceneTestCase.AwaitsFix;
|
||||||
import org.apache.solr.common.SolrInputDocument;
|
import org.apache.solr.common.SolrInputDocument;
|
||||||
import org.apache.solr.hadoop.morphline.MorphlineMapper;
|
import org.apache.solr.hadoop.morphline.MorphlineMapper;
|
||||||
import org.apache.solr.util.BadHdfsThreadsFilter;
|
import org.apache.solr.util.BadHdfsThreadsFilter;
|
||||||
|
@ -36,6 +37,7 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
|
||||||
@ThreadLeakFilters(defaultFilters = true, filters = {
|
@ThreadLeakFilters(defaultFilters = true, filters = {
|
||||||
BadHdfsThreadsFilter.class // hdfs currently leaks thread(s)
|
BadHdfsThreadsFilter.class // hdfs currently leaks thread(s)
|
||||||
})
|
})
|
||||||
|
@AwaitsFix(bugUrl="https://issues.apache.org/jira/browse/SOLR-9220")
|
||||||
public class MorphlineMapperTest extends MRUnitBase {
|
public class MorphlineMapperTest extends MRUnitBase {
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
|
@ -44,7 +46,6 @@ public class MorphlineMapperTest extends MRUnitBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@AwaitsFix(bugUrl="https://issues.apache.org/jira/browse/SOLR-9220")
|
|
||||||
public void testMapper() throws Exception {
|
public void testMapper() throws Exception {
|
||||||
MorphlineMapper mapper = new MorphlineMapper();
|
MorphlineMapper mapper = new MorphlineMapper();
|
||||||
MapDriver<LongWritable, Text, Text, SolrInputDocumentWritable> mapDriver = MapDriver.newMapDriver(mapper);;
|
MapDriver<LongWritable, Text, Text, SolrInputDocumentWritable> mapDriver = MapDriver.newMapDriver(mapper);;
|
||||||
|
|
|
@ -43,6 +43,7 @@ import org.mockito.stubbing.Answer;
|
||||||
|
|
||||||
import com.google.common.collect.Lists;
|
import com.google.common.collect.Lists;
|
||||||
|
|
||||||
|
@Ignore("This test cannot currently work because it uses a local filesystem output path for the indexes and Solr requires hdfs output paths")
|
||||||
public class MorphlineReducerTest extends MRUnitBase {
|
public class MorphlineReducerTest extends MRUnitBase {
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
|
@ -94,7 +95,6 @@ public class MorphlineReducerTest extends MRUnitBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore("This test cannot currently work because it uses a local filesystem output path for the indexes and Solr requires hdfs output paths")
|
|
||||||
public void testReducer() throws Exception {
|
public void testReducer() throws Exception {
|
||||||
MySolrReducer myReducer = new MySolrReducer();
|
MySolrReducer myReducer = new MySolrReducer();
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue