lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kris...@apache.org
Subject [31/35] lucene-solr:jira/solr-8593: SOLR-10032: Ignore tests that run no test methods.
Date Wed, 01 Feb 2017 17:00:59 GMT
SOLR-10032: Ignore tests that run no test methods.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/730df22e
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/730df22e
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/730df22e

Branch: refs/heads/jira/solr-8593
Commit: 730df22e40cdfb51dd466d44332631fa8fa87f42
Parents: 7467866
Author: markrmiller <markrmiller@apache.org>
Authored: Tue Jan 31 19:27:03 2017 -0500
Committer: markrmiller <markrmiller@apache.org>
Committed: Tue Jan 31 19:27:03 2017 -0500

----------------------------------------------------------------------
 .../apache/solr/handler/dataimport/TestMailEntityProcessor.java   | 1 +
 .../src/test/org/apache/solr/hadoop/MorphlineMapperTest.java      | 3 ++-
 .../src/test/org/apache/solr/hadoop/MorphlineReducerTest.java     | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/730df22e/solr/contrib/dataimporthandler-extras/src/test/org/apache/solr/handler/dataimport/TestMailEntityProcessor.java
----------------------------------------------------------------------
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 e595c1e..0b00be6 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

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/730df22e/solr/contrib/map-reduce/src/test/org/apache/solr/hadoop/MorphlineMapperTest.java
----------------------------------------------------------------------
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 8b51088..4f93a66 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<LongWritable, Text, Text, SolrInputDocumentWritable> mapDriver = MapDriver.newMapDriver(mapper);;

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/730df22e/solr/contrib/map-reduce/src/test/org/apache/solr/hadoop/MorphlineReducerTest.java
----------------------------------------------------------------------
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 89a5110..31616d8 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 {


Mime
View raw message