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

Improve exception checking in FileContext related JUnit tests

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-beta1, 2.8.2
    • Component/s: fs, test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      FileContextMainOperationsBaseTest#rename and TestHDFSFileContextMainOperations#rename do the same but different way.

      • FileContextMainOperationsBaseTest is able to distingush exceptions
      • TestHDFSFileContextMainOperations checks the files in case of error

      We should use one rename method with both advantages.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                boky01 Andras Bokor
                Reporter:
                boky01 Andras Bokor
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: