You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2014/07/23 19:57:38 UTC

[jira] [Resolved] (HADOOP-6104) Tests in oah.record are silently broken or are potentially broken

     [ https://issues.apache.org/jira/browse/HADOOP-6104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Allen Wittenauer resolved HADOOP-6104.
--------------------------------------

    Resolution: Fixed

A lot of this has been redone. Closing as stale.

> Tests in oah.record are silently broken or are potentially broken
> -----------------------------------------------------------------
>
>                 Key: HADOOP-6104
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6104
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>            Reporter: Jakob Homan
>
> Several of the tests in the oah.record package are silently broken or potentially so:
> # In most of the tests, try blocks wrap io operations and are caught with by printing the stack trace, but have no test fail, which results in the exceptions being silently swallowed.  This is really bad and directly leads to...
> # In FromCpp.java the test attempts to create files in /temp/ which fails, but because of item #1 this is not caught and the test passes, however...
> # Neither FromCpp.java nor ToCpp.java are named starting with Test, so neither are being run during run-test-core
> # When ToCpp.java is explicitly run, it's failing on an NPE.



--
This message was sent by Atlassian JIRA
(v6.2#6252)