You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "Brock Noland (Updated) (JIRA)" <ji...@apache.org> on 2011/09/27 02:35:12 UTC

[jira] [Updated] (MRUNIT-15) runTests() should throw meaningful error messages

     [ https://issues.apache.org/jira/browse/MRUNIT-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brock Noland updated MRUNIT-15:
-------------------------------

    Attachment: MRUNIT-15-1.patch

Attached is a patch which implements this. All tests pass.
                
> runTests() should throw meaningful error messages
> -------------------------------------------------
>
>                 Key: MRUNIT-15
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-15
>             Project: MRUnit
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: E. Sammer
>             Fix For: 0.8.0
>
>         Attachments: MRUNIT-15-1.patch
>
>
> When runTests() fails to validate the output generated by a mapper or reducer, it throws a RuntimeException with no message and relies on logging output to indicate what was wrong. Instead it should throw meaningful exceptions (although they can still be unchecked).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira