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

hadoop-azure runs several test cases repeatedly, causing unnecessarily long running time.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: fs/azure, test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Within hadoop-azure, we have the NativeAzureFileSystemBaseTest abstract class, which defines setup and teardown to handle the Azure storage account and also defines multiple test cases. This class originally was contributed to provide a layer of indirection for running the same test cases in live mode or mock mode: TestNativeAzureFileSystemLive and TestNativeAzureFileSystemMocked. It appears that since then, we created multiple new test suites that subclassed NativeAzureFileSystemBaseTest for the benefit of getting the common setup and teardown code, but also with the side effect of running the inherited test cases repeatedly. This is a significant factor in the overall execution time of the hadoop-azure tests.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cnauroth Chris Nauroth
                Reporter:
                cnauroth Chris Nauroth
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: