You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2024/01/18 14:03:00 UTC
[jira] [Commented] (HADOOP-17499) AbstractContractStreamIOStatisticsTest fails if read buffer not full
[ 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org