You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2026/06/04 06:26:00 UTC

[jira] [Resolved] (HDDS-15473) TestOmSnapshotObjectStore should run with createLinkedBucket=false

     [ https://issues.apache.org/jira/browse/HDDS-15473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Doroszlai resolved HDDS-15473.
-------------------------------------
    Fix Version/s: 2.2.0
       Resolution: Fixed

> 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
>            Assignee: Chi-Hsuan Huang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.2.0
>
>
> {{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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org