jay vyas created BIGTOP-1257:
--------------------------------

             Summary: Make TestHadoopExamples modular enough to support 
longevity tests.
                 Key: BIGTOP-1257
                 URL: https://issues.apache.org/jira/browse/BIGTOP-1257
             Project: Bigtop
          Issue Type: Improvement
          Components: Tests
            Reporter: jay vyas


TestHadoopExamples is really just a subset of what we eventually will add in 
the Longevity suite.  It will be good to create a super class, then, which 
wraps TestHadoopExamples that smoke tests and longevity tests can both use and 
customize. 

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 class, 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to