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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-alpha4
    • None

    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

        1. HADOOP-14415.001.patch
          4 kB
          Chen Liang

        Issue Links

          Activity

            People

              vagarychen Chen Liang
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: