Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14415

Use java.lang.AssertionError instead of junit.framework.AssertionFailedError

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha4
    • Component/s: None
    • Labels:

      Description

      When reviewing HADOOP-14180, I found some test codes throw junit.framework.AssertionFailedError. org.junit.Assert no longer throws AssertionFailedError, so we should use AssertionError instead of AssertionFailedError.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vagarychen Chen Liang
                Reporter:
                ajisakaa Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: