Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1257

Make TestHadoopExamples modular enough to support longevity tests.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.8.0
    • Component/s: tests
    • Labels:
      None

      Description

      TestHadoopExamples is really just a super of what we eventually will add in the Longevity suite. It will be good to create a super class, then, which wraps the hadoop examples jars, whic BOTH the smoke tests AND longevity tests can both use and customize to suite their needs.

      Advantages:

      • less code duplication
      • easier to add in new longevity tests
      • longevity tests focus on customizing , rather than defining the tests classes.

      We can go about this two ways:

      1) Use the approach of TestHadoopExamples: define all examples in a k/v map, with parameters or

      2) Write individual unit tests for each benchmark (i.e. TestDFSIO), as is done in Dasha's BIGTOP-1208 patch.

      Part of this JIRA i think is to audit the longevity suite for other duplications, to see where we can merge efforts.

        Attachments

        1. BIGTOP-1257.patch
          2 kB
          Dasha Boudnik
        2. BIGTOP-1257.patch
          1 kB
          Dasha Boudnik
        3. BIGTOP-1257-README.patch
          0.5 kB
          Dasha Boudnik
        4. BIGTOP-1257-README.patch
          0.7 kB
          Dasha Boudnik
        5. BIGTOP-1257-README.patch
          1.0 kB
          Dasha Boudnik
        6. BIGTOP-1257-README.patch
          0.9 kB
          Konstantin Boudnik

          Activity

            People

            • Assignee:
              dasha.boudnik Dasha Boudnik
              Reporter:
              jayunit100 jay vyas
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: