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

Steve Loughran commented on HADOOP-17499:
-----------------------------------------

seen this again; should be asserting the bytes read count >= 0 and <= requested 
len

> AbstractContractStreamIOStatisticsTest fails if read buffer not full
> --------------------------------------------------------------------
>
>                 Key: HADOOP-17499
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17499
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3, test
>    Affects Versions: 3.3.1
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>
> {code}
> [ERROR] 
> testInputStreamStatisticRead(org.apache.hadoop.fs.s3a.statistics.ITestS3AContractStreamIOStatistics)
>   Time elapsed: 6.252 s  <<< FAILURE!
> org.junit.ComparisonFailure: [Counter named stream_read_bytes with expected 
> value 129] expected:<[129]L> but was:<[3]L>
>       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> {code}
> Test should handle all cases where bytes read > 0



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to