MRUnit
  1. MRUnit
  2. MRUNIT-15

runTests() should throw meaningful error messages

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.8.0
    • Labels:
      None

      Description

      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).

      1. MRUNIT-15-1.patch
        2 kB
        Brock Noland
      2. MRUNIT-15-2.patch
        4 kB
        Brock Noland

        Activity

        Hide
        Brock Noland added a comment -

        Attached is a patch which implements this. All tests pass.

        Show
        Brock Noland added a comment - Attached is a patch which implements this. All tests pass.
        Hide
        Brock Noland added a comment -

        Forgot about the other drivers. Updated patch is attached.

        Show
        Brock Noland added a comment - Forgot about the other drivers. Updated patch is attached.
        Hide
        Chris A. Mattmann added a comment -
        • patch committed in r1178100. Thanks Brock!
        Show
        Chris A. Mattmann added a comment - patch committed in r1178100. Thanks Brock!

          People

          • Assignee:
            Chris A. Mattmann
            Reporter:
            E. Sammer
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development