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/12 06:22:00 UTC
[jira] [Resolved] (HDDS-15344) Extract test cases to OzoneFileSystemTests part 6
[ https://issues.apache.org/jira/browse/HDDS-15344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Doroszlai resolved HDDS-15344.
-------------------------------------
Fix Version/s: 2.3.0
Resolution: Done
> Extract test cases to OzoneFileSystemTests part 6
> -------------------------------------------------
>
> Key: HDDS-15344
> URL: https://issues.apache.org/jira/browse/HDDS-15344
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Ren Koike
> Assignee: Ren Koike
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.3.0
>
>
> In *AbstractOzoneFileSystemTest* and *AbstractRootedOzoneFileSystemTest* the following tests are (almost) identical. These test should be checked if shared logic are worth moving into {*}OzoneFileSystemTestBase{*}.
> ||Test||Notes||
> |testFileDelete|Almost identical logic; only grandparent path differs ({{{}/{}}} vs {{{}bucketPath{}}}).|
> |testCreateWithInvalidPaths|Same checks; differs by assumptions ({{{}FILE_SYSTEM_OPTIMIZED{}}} vs {{{}isBucketFSOptimized{}}}) and helpers.|
> |testFileSystemDeclaresCapability|Tiny; path/capabilities differ ({{{}Path("/"){}}} vs {{{}getBucketPath(){}}}).|
> |testSetTimes|Same idea (create key, {{{}setTimes{}}}, assert mtime); OFS creates extra bucket; OFS-only testSetTimesForLinkedBucketPath.|
> |testSnapshotRead|Same high-level snapshot listing; wiring/paths differ.|
> |testListStatusOnLargeDirectory|Parallel scenario; O3FS uses {{ROOT}} +{{EXCLUDE_TRASH}}+ {{{}assumeFalse{}}}; OFS uses {{"/vol/buck"}} + no filter.|
> |testTrash, testGetTrashRoot, testGetTrashRoots|Same names; behavior and setup often diverge a lot (worth a cost/benefit pass before extracting).|
--
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