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 "Mingliang Liu (JIRA)" <ji...@apache.org> on 2015/10/05 19:43:27 UTC

[jira] [Commented] (HDFS-9196) TestWebHdfsContentLength fails on trunk

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

Mingliang Liu commented on HDFS-9196:
-------------------------------------

Thank you for this patch. I checked it out and also found the same reason.

The revert patch looks good to me.

> TestWebHdfsContentLength fails on trunk
> ---------------------------------------
>
>                 Key: HDFS-9196
>                 URL: https://issues.apache.org/jira/browse/HDFS-9196
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ozawa
>            Assignee: Masatake Iwasaki
>         Attachments: HDFS-9196.001.patch
>
>
> {quote}
> Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 181.278 sec <<< FAILURE! - in org.apache.hadoop.hdfs.web.TestWebHdfsContentLength
> testPutOp(org.apache.hadoop.hdfs.web.TestWebHdfsContentLength)  Time elapsed: 60.05 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<0> but was:<null>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:144)
> 	at org.apache.hadoop.hdfs.web.TestWebHdfsContentLength.testPutOp(TestWebHdfsContentLength.java:116)
> testPutOpWithRedirect(org.apache.hadoop.hdfs.web.TestWebHdfsContentLength)  Time elapsed: 0.01 sec  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[chunked]> but was:<[0]>
> 	at org.junit.Assert.assertEquals(Assert.java:115)
> 	at org.junit.Assert.assertEquals(Assert.java:144)
> 	at org.apache.hadoop.hdfs.web.TestWebHdfsContentLength.testPutOpWithRedirect(TestWebHdfsContentLength.java:130)
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)