[ 
https://issues.apache.org/jira/browse/MRUNIT-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13622409#comment-13622409
 ] 

Hudson commented on MRUNIT-180:
-------------------------------

Integrated in mrunit-trunk #836 (See 
[https://builds.apache.org/job/mrunit-trunk/836/])
    MRUNIT-180: Being able to use a comparator on runTest (Revision 
aa44d5406468cff4e852da528ea68e44e56b76c4)

     Result = SUCCESS
brock : 
https://git-wip-us.apache.org/repos/asf?p=mrunit.git&a=commit&h=aa44d5406468cff4e852da528ea68e44e56b76c4
Files : 
* src/test/java/org/apache/hadoop/mrunit/TestMapDriver.java
* src/main/java/org/apache/hadoop/mrunit/internal/util/PairComparator.java
* src/test/java/org/apache/hadoop/mrunit/mapreduce/TestMapReduceDriver.java
* src/main/java/org/apache/hadoop/mrunit/TestDriver.java
* src/test/java/org/apache/hadoop/mrunit/TestReduceDriver.java
* src/test/java/org/apache/hadoop/mrunit/TestMapReduceDriver.java
* src/test/java/org/apache/hadoop/mrunit/mapreduce/TestReduceDriver.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to