Huang Kuan Hao created HDDS-17748:
-------------------------------------

             Summary: Reduce duplication in Recon unit tests
                 Key: HDDS-17748
                 URL: https://issues.apache.org/jira/browse/HDDS-17748
             Project: Apache Ozone
          Issue Type: Improvement
          Components: Ozone Recon
            Reporter: Huang Kuan Hao
            Assignee: Huang Kuan Hao


Several Recon unit tests repeat teardown for the same five resources. 
TestFeaturesEndPoint also creates database fixtures that its feature-flag tests 
do not use.

Share teardown through ReconTestUtils and remove the unused fixture from 
TestFeaturesEndPoint.

This follows the suggestion on 
https://github.com/apache/ozone/pull/11774#issuecomment-6629968139 and tracks 
test cleanup separately from the native-abort investigation in HDDS-16750, 
whose cause remains unconfirmed.

Patch: https://github.com/apache/ozone/pull/11953



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to