Ethan Rose created HDDS-11762:
---------------------------------
Summary: 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
{{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: [email protected]
For additional commands, e-mail: [email protected]