cku328 opened a new pull request #1791:
URL: https://github.com/apache/ozone/pull/1791


   ## What changes were proposed in this pull request?
   
   1. Modify to initialize a MiniOzoneCluster in `@BeforeClass`, then tear it 
down in `@AfterClass`.
   2. Tweaked the test case cleanup process to prevent the failure of one test 
case from affecting other tests. (my approach is to delete all files and 
directories in `@After`.)
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-4162
   
   ## How was this patch tested?
   
   Tested in my computer, the runtime of TestOzoneFileSystem before 
modification is 3m46s, after modification is 3m7s.
   Unit tests passed.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to