diff --git a/solr/contrib/dataimporthandler-extras/src/test/org/apache/solr/handler/dataimport/TestMailEntityProcessor.java b/solr/contrib/dataimporthandler-extras/src/test/org/apache/solr/handler/dataimport/TestMailEntityProcessor.java index e595c1ee6ec..0b00be60557 100644 --- a/solr/contrib/dataimporthandler-extras/src/test/org/apache/solr/handler/dataimport/TestMailEntityProcessor.java +++ b/solr/contrib/dataimporthandler-extras/src/test/org/apache/solr/handler/dataimport/TestMailEntityProcessor.java @@ -45,6 +45,7 @@ import java.util.Map; * @see org.apache.solr.handler.dataimport.MailEntityProcessor * @since solr 1.4 */ +@Ignore("Needs a Mock Mail Server to work") public class TestMailEntityProcessor extends AbstractDataImportHandlerTestCase { // Credentials diff --git a/solr/contrib/map-reduce/src/test/org/apache/solr/hadoop/MorphlineMapperTest.java b/solr/contrib/map-reduce/src/test/org/apache/solr/hadoop/MorphlineMapperTest.java index 8b510885146..4f93a664fe9 100644 --- a/solr/contrib/map-reduce/src/test/org/apache/solr/hadoop/MorphlineMapperTest.java +++ b/solr/contrib/map-reduce/src/test/org/apache/solr/hadoop/MorphlineMapperTest.java @@ -25,6 +25,7 @@ import org.apache.hadoop.io.Text; import org.apache.hadoop.mrunit.mapreduce.MapDriver; import org.apache.hadoop.mrunit.types.Pair; import org.apache.lucene.util.Constants; +import org.apache.lucene.util.LuceneTestCase.AwaitsFix; import org.apache.solr.common.SolrInputDocument; import org.apache.solr.hadoop.morphline.MorphlineMapper; import org.apache.solr.util.BadHdfsThreadsFilter; @@ -36,6 +37,7 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters; @ThreadLeakFilters(defaultFilters = true, filters = { BadHdfsThreadsFilter.class // hdfs currently leaks thread(s) }) +@AwaitsFix(bugUrl="https://issues.apache.org/jira/browse/SOLR-9220") public class MorphlineMapperTest extends MRUnitBase { @BeforeClass @@ -44,7 +46,6 @@ public class MorphlineMapperTest extends MRUnitBase { } @Test - @AwaitsFix(bugUrl="https://issues.apache.org/jira/browse/SOLR-9220") public void testMapper() throws Exception { MorphlineMapper mapper = new MorphlineMapper(); MapDriver mapDriver = MapDriver.newMapDriver(mapper);; diff --git a/solr/contrib/map-reduce/src/test/org/apache/solr/hadoop/MorphlineReducerTest.java b/solr/contrib/map-reduce/src/test/org/apache/solr/hadoop/MorphlineReducerTest.java index 89a5110e6ae..31616d8944a 100644 --- a/solr/contrib/map-reduce/src/test/org/apache/solr/hadoop/MorphlineReducerTest.java +++ b/solr/contrib/map-reduce/src/test/org/apache/solr/hadoop/MorphlineReducerTest.java @@ -43,6 +43,7 @@ import org.mockito.stubbing.Answer; 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 { @BeforeClass @@ -94,7 +95,6 @@ public class MorphlineReducerTest extends MRUnitBase { } @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 { MySolrReducer myReducer = new MySolrReducer(); try {