hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-10891) Über-jira: Test Improvement by adding missing test cases for existing code
Date Fri, 23 Sep 2016 00:34:20 GMT
Mingliang Liu created HDFS-10891:

             Summary: Über-jira: Test Improvement by adding missing test cases for existing
                 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
# 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

This message was sent by Atlassian JIRA

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

View raw message