hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3449) TestFileCreation fails
Date Mon, 21 May 2012 18:37:40 GMT

    [ 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

        

Mime
View raw message