You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ethan Rose (Jira)" <ji...@apache.org> on 2025/07/28 21:34:00 UTC
[jira] [Resolved] (HDDS-11762) Remove random placement from ContainerMerkleTreeTestUtils
[ https://issues.apache.org/jira/browse/HDDS-11762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ethan Rose resolved HDDS-11762.
-------------------------------
Resolution: Fixed
> Remove random placement from ContainerMerkleTreeTestUtils
> ---------------------------------------------------------
>
> Key: HDDS-11762
> URL: https://issues.apache.org/jira/browse/HDDS-11762
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Ethan Rose
> Priority: Minor
>
> {{ContainerMerkleTreeTestUtils}} currently uses random placement for block and chunk errors in methods like [this|https://github.com/apache/ozone/blob/f1679cee6668550eef76ffb870be11db4d8c28df/hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/container/checksum/ContainerMerkleTreeTestUtils.java#L181]. This will be difficult to diagnose with our current testing setup since it may fail intermittently and we will not know what configuration was used. We would then have to use a set configuration to test the fix.
> Our current test infra is not well set up for fuzz testing and the current test suites are expected to have more deterministic behavior, so we should instead handle specifying the placement of the failures instead of just the number of failures and placing them randomly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org