adoroszlai opened a new pull request, #10628:
URL: https://github.com/apache/ozone/pull/10628

   ## What changes were proposed in this pull request?
   
   - Merge almost identical `TestContainerReportHandling` and 
`TestContainerReportHandlingWithHA` test classes into one, parameterized by 
cluster type.
   - Execute test with all 4 parameter combinations on the same cluster, 
instead of starting a new one each time.
   
   https://issues.apache.org/jira/browse/HDDS-11247
   
   ## How was this patch tested?
   
   Time reduced from 262 s to 107 s.
   
   Before:
   
   ```
   [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 88.52 
s -- in org.apache.hadoop.ozone.container.TestContainerReportHandling
   [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 174.2 
s -- in org.apache.hadoop.ozone.container.TestContainerReportHandlingWithHA
   ```
   
   After:
   
   ```
   [INFO] Running org.apache.hadoop.ozone.container.TestContainerReportHandling
   [INFO] Running org.apache.hadoop.ozone.container.TestContainerReportHandling
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.39 
s -- in org.apache.hadoop.ozone.container.TestContainerReportHandling
   [INFO] Running org.apache.hadoop.ozone.container.TestContainerReportHandling
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.23 
s -- in org.apache.hadoop.ozone.container.TestContainerReportHandling
   [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 106.9 
s -- in org.apache.hadoop.ozone.container.TestContainerReportHandling
   ```
   
   https://github.com/adoroszlai/ozone/actions/runs/28298711406


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

Reply via email to