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 "Jakob Homan (JIRA)" <ji...@apache.org> on 2009/06/25 03:05:08 UTC

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

Tests in oah.record are silently broken or potentially 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Jakob Homan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakob Homan updated HADOOP-6104:
--------------------------------

    Summary: Tests in oah.record are silently broken or are potentially broken  (was: Tests in oah.record are silently broken or potentially are potentially broken)

> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.