Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13148

TestDistCpViewFs to include IOExceptions in test error reports

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • tools/distcp
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HADOOP-13148-001.patch
          12 kB
          Steve Loughran

        Activity

          People

            stevel@apache.org Steve Loughran
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.25h
                0.25h
                Remaining:
                Remaining Estimate - 0.25h
                0.25h
                Logged:
                Time Spent - Not Specified
                Not Specified