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

Improve exception checking in FileContext related JUnit tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-beta1, 2.8.2
    • fs, test
    • None
    • 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

        1. HADOOP-14629.01.patch
          15 kB
          Andras Bokor

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: