[
https://issues.apache.org/jira/browse/HADOOP-19506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936130#comment-17936130
]
ASF GitHub Bot commented on HADOOP-19506:
-----------------------------------------
stoty opened a new pull request, #7517:
URL: https://github.com/apache/hadoop/pull/7517
### Description of PR
Accept equals when checking if actual bandwidth conforms to the throttle
value set.
### How was this patch tested?
Ran the test on various JVMs
### For code changes:
- [X] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
> Fix TestThrottledInputStream when bandwidth is equal to throttle limit
> ----------------------------------------------------------------------
>
> Key: HADOOP-19506
> URL: https://issues.apache.org/jira/browse/HADOOP-19506
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Istvan Toth
> Priority: Major
>
> Some tests in TestThrottledInputStream intermittently fail when the measured
> bandwidth is equal to the one set for throttling.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]