You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2016/05/14 20:21:12 UTC

[jira] [Created] (HADOOP-13148) TestDistCpViewFs to include IOExceptions in test error reports

Steve Loughran created HADOOP-13148:
---------------------------------------

             Summary: TestDistCpViewFs to include IOExceptions in test error reports
                 Key: HADOOP-13148
                 URL: https://issues.apache.org/jira/browse/HADOOP-13148
             Project: Hadoop Common
          Issue Type: Improvement
          Components: tools/distcp
    Affects Versions: 2.8.0
            Reporter: Steve Loughran
            Assignee: Steve Loughran
            Priority: Minor


Minor test code style: all IOEs are caught and logged @ error, then test failed with a simple assert. This will lose all failure data from the XML test reports, hiding it in the logs.

Better to not catch the IOEs, just rethrow, and let JUnit handle them.



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

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