Chi-Hsuan Huang created HDDS-15473:
--------------------------------------
Summary: TestOmSnapshotObjectStore should run with
createLinkedBucket=false
Key: HDDS-15473
URL: https://issues.apache.org/jira/browse/HDDS-15473
Project: Apache Ozone
Issue Type: Bug
Components: test
Reporter: Chi-Hsuan Huang
{{TestOmSnapshotObjectStore}} and
{{TestOmSnapshotObjectStoreWithLinkedBuckets}} both call
{{super\(OBJECT\_STORE, false, false, false, true\)}} — i.e. both run with
{{createLinkedBucket=true}}. They are therefore identical, and the non\-linked
OBJECT\_STORE snapshot path is no longer exercised by any test.
This was introduced in HDDS\-11705 \(#7434\), which added
{{TestOmSnapshotObjectStoreWithLinkedBuckets}} and converted
{{TestOmSnapshotObjectStore}}'s constructor from 4 to 5 arguments, passing
{{true}} for the new {{createLinkedBucket}} flag instead of {{false}}.
Fix: change {{TestOmSnapshotObjectStore}} to pass {{createLinkedBucket=false}},
restoring coverage of the non\-linked path.
Noted as a side observation in HDDS\-10308, but it is a coverage correctness
issue, not a speedup, so tracked separately.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]