Stephen O'Donnell created HDDS-10843:
----------------------------------------
Summary: Enhance test to cover all meta data attributes
Key: HDDS-10843
URL: https://issues.apache.org/jira/browse/HDDS-10843
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Stephen O'Donnell
This comment highlighted that we should enhance the testing to cover all
metadata attributes:
https://github.com/apache/ozone/pull/6385#pullrequestreview-2046995945
{quote}
we need one static checker in a test util class that takes the old and new
KeyInfo objects from a rewrite operation and checks that metadata is either
altered or unaltered accordingly. This lets the code document and enforce
exactly which fields are and are not supposed to be modified by rewrite.
Currently metadata checks are done ad-hoc in unit and integration checks and I
think some fields like mtime and key owner are not tested.
{quote}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]