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.