You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2017/03/30 23:38:42 UTC

[jira] [Created] (HDFS-11600) Refactor TestDFSStripedOutputStreamWithFailure test classes

Andrew Wang created HDFS-11600:
----------------------------------

             Summary: Refactor TestDFSStripedOutputStreamWithFailure test classes
                 Key: HDFS-11600
                 URL: https://issues.apache.org/jira/browse/HDFS-11600
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: test
    Affects Versions: 3.0.0-alpha2
            Reporter: Andrew Wang
            Priority: Minor


TestDFSStripedOutputStreamWithFailure has a great number of subclasses. The tests are parameterized based on the name of these subclasses.

Seems like we could parameterize these tests with JUnit and then not need all these separate test classes.

Another note, the tests will randomly return instead of running the test. Using {{Assume}} instead would make it more clear in the test output that these tests were skipped.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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