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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • fs/azure, test
    • None
    • 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

        1. HADOOP-13459.001.patch
          9 kB
          Chris Nauroth

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: