len548 opened a new pull request, #9917: URL: https://github.com/apache/ozone/pull/9917
## What changes were proposed in this pull request? Abstract 6 duplicate test methods from `AbstractOzoneFileSystemTest` and `AbstractRootedOzoneFileSystemTest` to base class `OzoneFileSystemTestBase`. - Moved duplicated implementations of`testListStatus`, `testListStatusOnRoot`, `testListStatusOnSubDirs`, `testListStatusIteratorOnSubDirs`, `testDeleteCreatesFakeParentDir`, and `testNonExplicitlyCreatedPathExistsAfterItsLeafsWereRemoved` to the base class - Added abstract method `verifyDeleteCreatesFakeParentDir()` in the base class and child classes override to implement the logic. - Child classes now call base class methods with appropriate parameters - Fixed redundant assertions in `listStatusIteratorOnSubDirs` and `listStatusIteratorOnRoot` where previously it compared `String` with `FileStatus`. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-14828 ## How was this patch tested? All tests pass, no behavioral changes. CI: https://github.com/len548/ozone/actions/runs/23007205995 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
