Mingliang Liu created HDFS-10891:
------------------------------------

             Summary: Über-jira: Test Improvement by adding missing test cases 
for existing code
                 Key: HDFS-10891
                 URL: https://issues.apache.org/jira/browse/HDFS-10891
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: test
            Reporter: Mingliang Liu
            Assignee: Mingliang Liu


We have covered some test cases in our nightly run and we'd like to backport 
those test cases to the community code branch. This work includes the efforts 
but not limited to:
# Add more *meaningful* test cases for existing code so it's hard to break it 
as stability and compatibility should always be guarded if possible
# Refactor existing tests that share common code snippet (e.g. helper methods) 
and/or logic (e.g. set up a MiniDFSCluster). One approach that is not popular 
(which it should) is @Parameterized tests
# Reduce unnecessary overhead in unit tests (e.g. long interval sleep, build 
MiniDFSCluster multiple times instead of reusing the same one)

This is not a long-term work to cover all future improvement in unit tests. 
We'll be happy to resolve this after our internal test cases (will file 
separate JIRAs for that) are mostly addressed/considered.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to