You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2012/05/21 20:37:40 UTC

[jira] [Commented] (HDFS-3449) TestFileCreation fails

    [ https://issues.apache.org/jira/browse/HDFS-3449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280346#comment-13280346 ] 

Todd Lipcon commented on HDFS-3449:
-----------------------------------

Are you running this with an old version of JUnit on the classpath or something? Or is the test not JUnit 4? The JUnit runner is supposed to catch AssumptionViolatedException and treat it as a skipped test, not a failed test.
                
> TestFileCreation fails
> ----------------------
>
>                 Key: HDFS-3449
>                 URL: https://issues.apache.org/jira/browse/HDFS-3449
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Tsz Wo (Nicholas), SZE
>
> {noformat}
> Tests run: 15, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 41.737 sec <<< FAILURE!
> testFileCreationSetLocalInterface(org.apache.hadoop.hdfs.TestFileCreation)  Time elapsed: 0.007 sec  <<< ERROR!
> org.junit.internal.AssumptionViolatedException: got: <false>, expected: is <true>
> 	at org.junit.Assume.assumeThat(Assume.java:70)
> 	at org.junit.Assume.assumeTrue(Assume.java:39)
> 	at org.apache.hadoop.hdfs.TestFileCreation.testFileCreationSetLocalInterface(TestFileCreation.java:156)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	...
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira