mrunit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbe...@apache.org
Subject svn commit: r1367882 - /mrunit/trunk/src/main/java/org/apache/hadoop/mrunit/PipelineMapReduceDriver.java
Date Wed, 01 Aug 2012 08:28:02 GMT
Author: dbeech
Date: Wed Aug  1 08:28:02 2012
New Revision: 1367882

URL: http://svn.apache.org/viewvc?rev=1367882&view=rev
Log:
Removed dupe runTest method from PipelineMapReduceDriver. Also gets rid of wrapped IOException
(MRUNIT-123)

Modified:
    mrunit/trunk/src/main/java/org/apache/hadoop/mrunit/PipelineMapReduceDriver.java

Modified: mrunit/trunk/src/main/java/org/apache/hadoop/mrunit/PipelineMapReduceDriver.java
URL: http://svn.apache.org/viewvc/mrunit/trunk/src/main/java/org/apache/hadoop/mrunit/PipelineMapReduceDriver.java?rev=1367882&r1=1367881&r2=1367882&view=diff
==============================================================================
--- mrunit/trunk/src/main/java/org/apache/hadoop/mrunit/PipelineMapReduceDriver.java (original)
+++ mrunit/trunk/src/main/java/org/apache/hadoop/mrunit/PipelineMapReduceDriver.java Wed Aug
 1 08:28:02 2012
@@ -368,18 +368,6 @@ public class PipelineMapReduceDriver<K1,
     return (List) inputs;
   }
 
-  @Override
-  public void runTest(final boolean orderMatters) {
-    try {
-      final List<Pair<K2, V2>> outputs = run();
-      validate(outputs, orderMatters);
-      validate(counterWrapper);
-    } catch (final IOException ioe) {
-      LOG.error(ioe);
-      throw new RuntimeException(ioe);
-    }
-  }
-
   /**
    * @param configuration
    *          The configuration object that will given to the mappers and



Mime
View raw message