hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-13148) TestDistCpViewFs to include IOExceptions in test error reports
Date Sat, 14 May 2016 20:21:12 GMT
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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org


Mime
View raw message