[ https://issues.apache.org/jira/browse/MRUNIT-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13991203#comment-13991203 ]
Hudson commented on MRUNIT-180: ------------------------------- FAILURE: Integrated in mrunit-trunk #1119 (See [https://builds.apache.org/job/mrunit-trunk/1119/]) MRUNIT-192 - MRUNIT-180 requires values be comparable (Bertrand via Brock) (brock: rev e43ef01dd1199a7eb0963edbf05258a8609bf0dc) * src/test/java/org/apache/hadoop/mrunit/ExtendedAssert.java * src/test/java/org/apache/hadoop/mrunit/internal/util/TestStringUtils.java * src/test/resources/log4j.properties * src/main/java/org/apache/hadoop/mrunit/MapReduceDriverBase.java * src/test/java/org/apache/hadoop/mrunit/mapreduce/TestWordCount.java * src/main/java/org/apache/hadoop/mrunit/PipelineMapReduceDriver.java * src/test/java/org/apache/hadoop/mrunit/mapreduce/TestMapReduceDriver.java * src/main/java/org/apache/hadoop/mrunit/internal/util/PairComparator.java * src/test/java/org/apache/hadoop/mrunit/TestReduceDriver.java * pom.xml * src/main/java/org/apache/hadoop/mrunit/types/Pair.java * src/main/java/org/apache/hadoop/mrunit/internal/mapreduce/AbstractMockContextWrapper.java * src/main/java/org/apache/hadoop/mrunit/internal/util/DistCacheUtils.java * src/test/java/org/apache/hadoop/mrunit/TestPipelineMapReduceDriver.java * src/test/java/org/apache/hadoop/mrunit/mapreduce/TestReduceDriver.java * src/test/java/org/apache/hadoop/mrunit/testutil/TestTemporaryPath.java * src/test/java/org/apache/hadoop/mrunit/TestMapDriver.java * src/main/java/org/apache/hadoop/mrunit/internal/mapred/MockReporter.java * src/test/java/org/apache/hadoop/mrunit/TestMapReduceDriver.java * src/test/java/org/apache/hadoop/mrunit/TestExample.java * src/main/java/org/apache/hadoop/mrunit/internal/mapreduce/MockMapContextWrapper.java * src/main/java/org/apache/hadoop/mrunit/internal/output/MockOutputCreator.java * src/test/java/org/apache/hadoop/mrunit/TestDistributedCache.java * src/main/java/org/apache/hadoop/mrunit/MapDriverBase.java * src/main/java/org/apache/hadoop/mrunit/MapReduceDriver.java * src/main/java/org/apache/hadoop/mrunit/testutil/ExtendedAssert.java * src/test/java/org/apache/hadoop/mrunit/types/UncomparableWritable.java * src/main/java/org/apache/hadoop/mrunit/ReduceDriverBase.java * src/main/java/org/apache/hadoop/mrunit/TestDriver.java * src/main/java/org/apache/hadoop/mrunit/internal/util/Errors.java * src/main/java/org/apache/hadoop/mrunit/internal/io/Serialization.java * src/main/java/org/apache/hadoop/mrunit/internal/counters/CounterWrapper.java * src/main/java/org/apache/hadoop/mrunit/internal/util/PairEquality.java * src/main/java/org/apache/hadoop/mrunit/internal/util/StringUtils.java * src/main/java/org/apache/hadoop/mrunit/mapreduce/MapReduceDriver.java * src/main/java/org/apache/hadoop/mrunit/MapDriver.java * src/main/java/org/apache/hadoop/mrunit/internal/mapreduce/MockReduceContextWrapper.java * src/test/java/org/apache/hadoop/mrunit/mapreduce/StatefulMapper.java * src/test/java/org/apache/hadoop/mrunit/mapreduce/TestDistributedCache.java * src/main/java/org/apache/hadoop/mrunit/ReduceDriver.java * src/main/java/org/apache/hadoop/mrunit/testutil/TemporaryPath.java * src/test/java/org/apache/hadoop/mrunit/mapreduce/TestMapDriver.java * src/test/java/org/apache/hadoop/mrunit/mapreduce/TestStatefulMapReduce.java > Being able to use a comparator on runTest > ----------------------------------------- > > Key: MRUNIT-180 > URL: https://issues.apache.org/jira/browse/MRUNIT-180 > Project: MRUnit > Issue Type: Improvement > Affects Versions: 0.9.0 > Reporter: Ximo Guanter > Assignee: Ximo Guanter > Priority: Minor > Fix For: 1.1.0 > > Attachments: MRUNIT-180-2.patch, MRUNIT-180.patch > > > Sometimes using withOutput and runTest is not possible if the .equals method > is not the correct way to compare equality. This is especially true for > Mapper and Reducers that return doubles or structure with doubles in them, > since there is no way to specify a desired error tolerance for the result. > Being able to specify a Comparator for the key and value types enabled the > usage of runTest for these cases. -- This message was sent by Atlassian JIRA (v6.2#6252)