You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "smengcl (via GitHub)" <gi...@apache.org> on 2024/06/18 20:28:14 UTC
[PR] HDDS-11020. Implement RoundRobinPipelineChoosePolicy [ozone]
smengcl opened a new pull request, #6832:
URL: https://github.com/apache/ozone/pull/6832
## What changes were proposed in this pull request?
Implement `RoundRobinPipelineChoosePolicy` for test case `TestOzoneClientRetriesOnExceptions#testMaxRetriesByOzoneClient`, in order to make sure the test is properly run every time instead of depending on the randomness in `RandomPipelineChoosePolicy`.
`Assume.assumeFalse(containerList.contains(containerID))` was added in HDDS-4577 (#1689) to skip the test if the case of each block being in a different container is not satisfied. That can now be guaranteed with `RoundRobinPipelineChoosePolicy` and has thus been switched to `assert`.
At this moment, `RoundRobinPipelineChoosePolicy` might only be useful for testing and debugging purposes.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11020
## How was this patch tested?
- Added UT.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org